diff options
author | Cameron Gutman <aicommander@gmail.com> | 2021-12-14 02:12:15 +0000 |
---|---|---|
committer | Andriy Gelman <andriy.gelman@gmail.com> | 2021-12-28 18:12:47 -0500 |
commit | 30322ebe3c55d0fb18bea4ae04d0fcaf1f97d27f (patch) | |
tree | ce59a0c669bb6eec27191c583b59e2fb827968aa /doc/fate_config.sh.template | |
parent | 63d5b6f9350701a9d1af7d8d532f10d6f6b69039 (diff) | |
download | ffmpeg-30322ebe3c55d0fb18bea4ae04d0fcaf1f97d27f.tar.gz |
avcodec/v4l2_m2m_dec: dequeue frame if input isn't ready
The V4L2M2M API operates asynchronously, so multiple packets can
be enqueued before getting a batch of frames back. Since it was
only possible to receive a frame by submitting another packet,
there wasn't a way to drain those excess output frames from when
avcodec_receive_frame() returned AVERROR(EAGAIN).
Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com>
Signed-off-by: Cameron Gutman <aicommander@gmail.com>
Diffstat (limited to 'doc/fate_config.sh.template')
0 files changed, 0 insertions, 0 deletions