summaryrefslogtreecommitdiffstats
path: root/libavcodec/v4l2_m2m_dec.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-05-26 17:13:20 +0100
committerMark Thompson <sw@jkqxz.net>2018-06-03 18:40:26 +0100
commit2bd24d4a37e9793295730d383471a4b3711b0f8c (patch)
tree3488ab9d9dd1aea1b7f03ec0bd3d600c202f6ea9 /libavcodec/v4l2_m2m_dec.c
parent29e0879b29d11e76b60392b9bcfa238224bde26d (diff)
downloadffmpeg-streaming-2bd24d4a37e9793295730d383471a4b3711b0f8c.zip
ffmpeg-streaming-2bd24d4a37e9793295730d383471a4b3711b0f8c.tar.gz
v4l2_m2m: Mark V4L2 M2M decoders as unsuitable for probing
Diffstat (limited to 'libavcodec/v4l2_m2m_dec.c')
-rw-r--r--libavcodec/v4l2_m2m_dec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec/v4l2_m2m_dec.c
index bca45be..598dc10 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", \
};
OpenPOWER on IntegriCloud