[FFmpeg-devel] [PATCH] avcodec/cuviddec: Fix missing HW_CONFIG_METHOD_HW_FRAMES_CTX flag

Zhao Zhili quinkblack at foxmail.com
Fri Jan 10 10:16:03 EET 2025


Ping.

> On Dec 18, 2024, at 15:13, Zhao Zhili <quinkblack-at-foxmail.com at ffmpeg.org> wrote:
> 
> From: Zhao Zhili <zhilizhao at tencent.com>
> 
> ---
> libavcodec/cuviddec.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c
> index 3fae9c12eb..502bcc7fc2 100644
> --- a/libavcodec/cuviddec.c
> +++ b/libavcodec/cuviddec.c
> @@ -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
>         },
> -- 
> 2.46.0
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list