[FFmpeg-cvslog] avcodec/nvenc: add forgotten X2RGB10 formats to 10-bit-list
Timo Rothenpieler
git at videolan.org
Tue Nov 15 01:03:24 EET 2022
ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Mon Nov 14 23:10:20 2022 +0100| [c7a60124e37d4838d9b113d3a91249f4f1913cfb] | committer: Timo Rothenpieler
avcodec/nvenc: add forgotten X2RGB10 formats to 10-bit-list
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c7a60124e37d4838d9b113d3a91249f4f1913cfb
---
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 || \
More information about the ffmpeg-cvslog
mailing list