[FFmpeg-cvslog] avcodec/nvenc: stop using long deprecated format specifiers
Timo Rothenpieler
git at videolan.org
Mon Apr 1 02:06:09 EEST 2024
ffmpeg | branch: release/6.1 | Timo Rothenpieler <timo at rothenpieler.org> | Sun Mar 31 18:25:15 2024 +0200| [3481f8d99fc44f5516957e774b7f2da74c33beb8] | committer: Timo Rothenpieler
avcodec/nvenc: stop using long deprecated format specifiers
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3481f8d99fc44f5516957e774b7f2da74c33beb8
---
libavcodec/nvenc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 626f10d20a..66a95f54d1 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -1689,15 +1689,15 @@ static NV_ENC_BUFFER_FORMAT nvenc_map_buffer_format(enum AVPixelFormat pix_fmt)
{
switch (pix_fmt) {
case AV_PIX_FMT_YUV420P:
- return NV_ENC_BUFFER_FORMAT_YV12_PL;
+ return NV_ENC_BUFFER_FORMAT_YV12;
case AV_PIX_FMT_NV12:
- return NV_ENC_BUFFER_FORMAT_NV12_PL;
+ return NV_ENC_BUFFER_FORMAT_NV12;
case AV_PIX_FMT_P010:
case AV_PIX_FMT_P016:
return NV_ENC_BUFFER_FORMAT_YUV420_10BIT;
case AV_PIX_FMT_GBRP:
case AV_PIX_FMT_YUV444P:
- return NV_ENC_BUFFER_FORMAT_YUV444_PL;
+ return NV_ENC_BUFFER_FORMAT_YUV444;
case AV_PIX_FMT_GBRP16:
case AV_PIX_FMT_YUV444P16:
return NV_ENC_BUFFER_FORMAT_YUV444_10BIT;
More information about the ffmpeg-cvslog
mailing list