Commit 01fac84f authored by Philip Langdale's avatar Philip Langdale

avcodec/nvenc: Enable YV12 input format

This has been enabled by recent nvidia driver releases.
Signed-off-by: 's avatarPhilip Langdale <philipl@overt.org>
parent 4a3bc0d9
...@@ -1376,6 +1376,7 @@ static int nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt, ...@@ -1376,6 +1376,7 @@ static int nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
} }
static const enum AVPixelFormat pix_fmts_nvenc[] = { static const enum AVPixelFormat pix_fmts_nvenc[] = {
AV_PIX_FMT_YUV420P,
AV_PIX_FMT_NV12, AV_PIX_FMT_NV12,
AV_PIX_FMT_NONE AV_PIX_FMT_NONE
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment