aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api/api-flac-test.c
diff options
context:
space:
mode:
authorMing Qian <ming.qian@nxp.com>2022-01-04 17:08:32 +0800
committerAndriy Gelman <andriy.gelman@gmail.com>2022-01-09 11:47:26 -0500
commit832aae6c8684041a874943d4dc2f9272869809c9 (patch)
tree4225504ac376067b26e2a47224c56a88cb29c3f8 /tests/api/api-flac-test.c
parent91b459ab23bfb6e7dea42f71519df2aece5751a0 (diff)
downloadffmpeg-832aae6c8684041a874943d4dc2f9272869809c9.tar.gz
avcodec/v4l2_context: send start decode command after dynamic resolution change event
Fixes decoding of sample https://streams.videolan.org/ffmpeg/incoming/720p60.mp4 on RPi4 after kernel driver commit: staging: bcm2835-codec: Format changed should trigger drain Reference: linux/Documentation/userspace-api/media/v4l/dev-decoder.rst "A source change triggers an implicit decoder drain, similar to the explicit Drain sequence. The decoder is stopped after it completes. The decoding process must be resumed with either a pair of calls to VIDIOC_STREAMOFF and VIDIOC_STREAMON on the CAPTURE queue, or a call to VIDIOC_DECODER_CMD with the V4L2_DEC_CMD_START command." Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Ming Qian <ming.qian@nxp.com>
Diffstat (limited to 'tests/api/api-flac-test.c')
0 files changed, 0 insertions, 0 deletions