[FFmpeg-cvslog] avcodec/nvenc: Enable YV12 input format

Philip Langdale git at videolan.org
Sun Jun 14 06:09:46 CEST 2015


ffmpeg | branch: master | Philip Langdale <philipl at overt.org> | Sat Jun  6 20:28:22 2015 -0700| [01fac84fe4351eeadf852bd5a932eea517a9b210] | committer: Philip Langdale

avcodec/nvenc: Enable YV12 input format

This has been enabled by recent nvidia driver releases.

Signed-off-by: Philip Langdale <philipl at overt.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=01fac84fe4351eeadf852bd5a932eea517a9b210
---

 libavcodec/nvenc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 87ce6f3..a5652c5 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -1376,6 +1376,7 @@ static int nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
 }
 
 static const enum AVPixelFormat pix_fmts_nvenc[] = {
+    AV_PIX_FMT_YUV420P,
     AV_PIX_FMT_NV12,
     AV_PIX_FMT_NONE
 };



More information about the ffmpeg-cvslog mailing list