lavc/qsvenc_jpeg: accept YUYV422 and BGRA in system memory

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
pull/388/head
Haihao Xiang 2 years ago
parent 01f46f18db
commit 1f88fb80d5
  1. 2
      libavcodec/qsvenc_jpeg.c

@ -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…
Cancel
Save