Browse Source

avcodec/nvenc: Enable YV12 input format

This has been enabled by recent nvidia driver releases.

Signed-off-by: Philip Langdale <philipl@overt.org>
tags/n2.8
Philip Langdale 10 years ago
parent
commit
01fac84fe4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/nvenc.c

+ 1
- 0
libavcodec/nvenc.c View File

@@ -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
};


Loading…
Cancel
Save