Commit dcea6189 authored by Timo Rothenpieler's avatar Timo Rothenpieler

avcodec/cuvid: mark as avoid for probing

parent 9777ba33
...@@ -913,7 +913,7 @@ static const AVOption options[] = { ...@@ -913,7 +913,7 @@ static const AVOption options[] = {
.send_packet = cuvid_decode_packet, \ .send_packet = cuvid_decode_packet, \
.receive_frame = cuvid_output_frame, \ .receive_frame = cuvid_output_frame, \
.flush = cuvid_flush, \ .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, \ .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_CUDA, \
AV_PIX_FMT_NV12, \ AV_PIX_FMT_NV12, \
AV_PIX_FMT_NONE }, \ AV_PIX_FMT_NONE }, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment