hello ghdlghdl0558,
this may be a corner case to hit this bug.
according to below, bytesperline
should be overwritten by v4l control.
static void tegra_channel_update_format()
...
chan->format.bytesperline = preferred_stride ?: bytesperline;
...
tegra_channel_fmt_align(chan, chan->fmtinfo,
&chan->format.width,
&chan->format.height,
&chan->format.bytesperline);
/* Calculate the sizeimage per plane */
chan->format.sizeimage = get_aligned_buffer_size(chan,
chan->format.bytesperline, chan->format.height);
could you please check you’re also able to resolve the issue by… --set-ctrl preferred_stride=3904
.
thanks