You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/nvenc: Enable YV12 input format
This has been enabled by recent nvidia driver releases. Signed-off-by: Philip Langdale <philipl@overt.org>
This commit is contained in:
@@ -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
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user