From dcea61897647f2690dd76b3000841b5b0c032ab1 Mon Sep 17 00:00:00 2001 From: Timo Rothenpieler Date: Thu, 22 Sep 2016 12:10:31 +0200 Subject: [PATCH] avcodec/cuvid: mark as avoid for probing --- libavcodec/cuvid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cuvid.c b/libavcodec/cuvid.c index ddf8b72efe..bd66f9ed14 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 }, \