[FFmpeg-cvslog] v4l2_m2m: Mark V4L2 M2M decoders as unsuitable for probing

Mark Thompson git at videolan.org
Sun Jun 3 20:40:59 EEST 2018


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Sat May 26 17:13:20 2018 +0100| [2bd24d4a37e9793295730d383471a4b3711b0f8c] | committer: Mark Thompson

v4l2_m2m: Mark V4L2 M2M decoders as unsuitable for probing

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2bd24d4a37e9793295730d383471a4b3711b0f8c
---

 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", \
 };
 



More information about the ffmpeg-cvslog mailing list