mirror of https://github.com/FFmpeg/FFmpeg.git
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>remotes/origin/release/5.0
parent
63d5b6f935
commit
30322ebe3c
1 changed files with 6 additions and 2 deletions
Loading…
Reference in new issue