[FFmpeg-cvslog] avcodec/cuvid: mark as avoid for probing

Timo Rothenpieler git at videolan.org
Fri Sep 23 12:48:34 EEST 2016


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Thu Sep 22 12:10:31 2016 +0200| [dcea61897647f2690dd76b3000841b5b0c032ab1] | committer: Timo Rothenpieler

avcodec/cuvid: mark as avoid for probing

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

 libavcodec/cuvid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/cuvid.c b/libavcodec/cuvid.c
index ddf8b72..bd66f9e 100644
--- a/libavcodec/cuvid.c
+++ b/libavcodec/cuvid.c
@@ -913,7 +913,7 @@ static const AVOption options[] = {
         .send_packet    = cuvid_decode_packet, \
         .receive_frame  = cuvid_output_frame, \
         .flush          = cuvid_flush, \
-        .capabilities   = AV_CODEC_CAP_DELAY, \
+        .capabilities   = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING, \
         .pix_fmts       = (const enum AVPixelFormat[]){ AV_PIX_FMT_CUDA, \
                                                         AV_PIX_FMT_NV12, \
                                                         AV_PIX_FMT_NONE }, \



More information about the ffmpeg-cvslog mailing list