From 2bd24d4a37e9793295730d383471a4b3711b0f8c Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sat, 26 May 2018 17:13:20 +0100 Subject: [PATCH] v4l2_m2m: Mark V4L2 M2M decoders as unsuitable for probing --- libavcodec/v4l2_m2m_dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec/v4l2_m2m_dec.c index bca45be148..598dc10781 100644 --- a/libavcodec/v4l2_m2m_dec.c +++ b/libavcodec/v4l2_m2m_dec.c @@ -221,7 +221,8 @@ AVCodec ff_ ## NAME ## _v4l2m2m_decoder = { \ .receive_frame = v4l2_receive_frame,\ .close = ff_v4l2_m2m_codec_end,\ .bsfs = bsf_name, \ - .capabilities = AV_CODEC_CAP_HARDWARE | AV_CODEC_CAP_DELAY, \ + .capabilities = AV_CODEC_CAP_HARDWARE | AV_CODEC_CAP_DELAY | \ + AV_CODEC_CAP_AVOID_PROBING, \ .wrapper_name = "v4l2m2m", \ };