diff options
author | Aman Gupta <aman@tmm1.net> | 2019-08-24 12:02:30 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2019-09-11 10:31:18 -0700 |
commit | fac834b2ae0b2802f1eca9fd804fbdf6cd34ac33 (patch) | |
tree | 4a14161ef323849fab1a6d1e6b3da3507826a9b0 /libavcodec/v4l2_m2m_dec.c | |
parent | 3475758a3791dc89c6e7c406f8b032f035cd7d1e (diff) | |
download | ffmpeg-fac834b2ae0b2802f1eca9fd804fbdf6cd34ac33.tar.gz |
avcodec/v4l2_context: expose timeout for dequeue_frame
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavcodec/v4l2_m2m_dec.c')
-rw-r--r-- | libavcodec/v4l2_m2m_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec/v4l2_m2m_dec.c index a3744208f3..686e130387 100644 --- a/libavcodec/v4l2_m2m_dec.c +++ b/libavcodec/v4l2_m2m_dec.c @@ -162,7 +162,7 @@ static int v4l2_receive_frame(AVCodecContext *avctx, AVFrame *frame) dequeue: av_packet_unref(&avpkt); - return ff_v4l2_context_dequeue_frame(capture, frame); + return ff_v4l2_context_dequeue_frame(capture, frame, -1); } static av_cold int v4l2_decode_init(AVCodecContext *avctx) |