mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/qsvenc_jpeg: accept YUYV422 and BGRA in system memory
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
This commit is contained in:
parent
01f46f18db
commit
1f88fb80d5
|
@ -89,6 +89,8 @@ const FFCodec ff_mjpeg_qsv_encoder = {
|
|||
.close = qsv_enc_close,
|
||||
.p.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HYBRID,
|
||||
.p.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
|
||||
AV_PIX_FMT_YUYV422,
|
||||
AV_PIX_FMT_BGRA,
|
||||
AV_PIX_FMT_QSV,
|
||||
AV_PIX_FMT_NONE },
|
||||
.p.priv_class = &class,
|
||||
|
|
Loading…
Reference in New Issue