forked from FFmpeg/FFmpeg
avcodec/cuviddec: Fix missing HW_CONFIG_METHOD_HW_FRAMES_CTX flag
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
d157e1f16b
commit
ff00037368
1 changed files with 1 additions and 0 deletions
|
@ -1162,6 +1162,7 @@ static const AVCodecHWConfigInternal *const cuvid_hw_configs[] = {
|
|||
.public = {
|
||||
.pix_fmt = AV_PIX_FMT_CUDA,
|
||||
.methods = AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX |
|
||||
AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX |
|
||||
AV_CODEC_HW_CONFIG_METHOD_INTERNAL,
|
||||
.device_type = AV_HWDEVICE_TYPE_CUDA
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue