summaryrefslogtreecommitdiffstats
path: root/libavcodec/v4l2_m2m_dec.c
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2019-08-24 12:02:30 -0700
committerAman Gupta <aman@tmm1.net>2019-09-11 10:31:18 -0700
commitfac834b2ae0b2802f1eca9fd804fbdf6cd34ac33 (patch)
tree4a14161ef323849fab1a6d1e6b3da3507826a9b0 /libavcodec/v4l2_m2m_dec.c
parent3475758a3791dc89c6e7c406f8b032f035cd7d1e (diff)
downloadffmpeg-streaming-fac834b2ae0b2802f1eca9fd804fbdf6cd34ac33.zip
ffmpeg-streaming-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec/v4l2_m2m_dec.c
index a374420..686e130 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)
OpenPOWER on IntegriCloud