From c7a60124e37d4838d9b113d3a91249f4f1913cfb Mon Sep 17 00:00:00 2001 From: Timo Rothenpieler Date: Mon, 14 Nov 2022 23:10:20 +0100 Subject: [PATCH] avcodec/nvenc: add forgotten X2RGB10 formats to 10-bit-list --- libavcodec/nvenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 7df11e5866..b803e72cca 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -82,6 +82,8 @@ const AVCodecHWConfigInternal *const ff_nvenc_hw_configs[] = { #define IS_10BIT(pix_fmt) (pix_fmt == AV_PIX_FMT_P010 || \ pix_fmt == AV_PIX_FMT_P016 || \ pix_fmt == AV_PIX_FMT_YUV444P16 || \ + pix_fmt == AV_PIX_FMT_X2RGB10 || \ + pix_fmt == AV_PIX_FMT_X2BGR10 || \ pix_fmt == AV_PIX_FMT_GBRP16) #define IS_YUV444(pix_fmt) (pix_fmt == AV_PIX_FMT_YUV444P || \