X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fqsvdec_mpeg2.c;h=d9052e0c62e0ab55d35dbff36d5d507553a47eb8;hb=6411ac68865d2b37b84246e6b09f327cb8a13b69;hp=36fd3b07d24331a80b5e4dd7bce4b2eecc6ced30;hpb=88dbdf4845e31ef2a812b11e33aee823319fa442;p=ffmpeg diff --git a/libavcodec/qsvdec_mpeg2.c b/libavcodec/qsvdec_mpeg2.c index 36fd3b07d24..d9052e0c62e 100644 --- a/libavcodec/qsvdec_mpeg2.c +++ b/libavcodec/qsvdec_mpeg2.c @@ -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 }, };