On Tue, 04. Jan 17:08, Ming Qian wrote:
> client need to resume the decoding process
> after it dequeues the source change event.
> no matter what's the return value of v4l2_resolution_changed().
> if the client doesn't resume the decoding process,
> the decoder may keep waiting
> 
> in documentation of v4l2 stateful decoder, we can see the following
> description:
>       The client must continue the sequence as described below to
>       continue the decoding process.
>       1.  Dequeue the source change event.
>               Important
>               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.
>       2.  Continue with the Capture Setup sequence.
> 

This is just a clean up to remove the reinit variable so the commit title and
description are wrong.

Thanks,
-- 
Andriy
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to