Merge commit '741b352b16dad74b87c4a39bade8902633a2b0e6'
[ffmpeg.git] / libavcodec / qsvdec_mpeg2.c
index 36fd3b0..d9052e0 100644 (file)
@@ -94,4 +94,7 @@ AVCodec ff_mpeg2_qsv_decoder = {
     .close          = qsv_decode_close,
     .capabilities   = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
     .priv_class     = &class,
+    .pix_fmts       = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
+                                                    AV_PIX_FMT_QSV,
+                                                    AV_PIX_FMT_NONE },
 };