diff options
author | Philip Langdale <philipl@overt.org> | 2015-06-07 06:28:22 +0300 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2015-06-14 07:09:24 +0300 |
commit | 01fac84fe4351eeadf852bd5a932eea517a9b210 (patch) | |
tree | 5a2d3833bf19b336969f44cac48a8cb976358788 /libavcodec/nvenc.c | |
parent | 4a3bc0d9a5a0d3cab1e4e062130821a3ec1f800e (diff) |
avcodec/nvenc: Enable YV12 input format
This has been enabled by recent nvidia driver releases.
Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'libavcodec/nvenc.c')
-rw-r--r-- | libavcodec/nvenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 87ce6f35cb..a5652c545a 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 }; |