[FFmpeg-cvslog] avcodec/nvenc: stop using long deprecated format specifiers
Timo Rothenpieler
git at videolan.org
Mon Apr 1 02:02:38 EEST 2024
ffmpeg | branch: release/7.0 | Timo Rothenpieler <timo at rothenpieler.org> | Sun Mar 31 18:25:15 2024 +0200| [5ff5a431c758e8b25e3bee2a0242d9b30422edf1] | committer: Timo Rothenpieler
avcodec/nvenc: stop using long deprecated format specifiers
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ff5a431c758e8b25e3bee2a0242d9b30422edf1
---
libavcodec/nvenc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index fd73af2a32..0cb3b87c67 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