diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-29 14:53:42 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-29 14:53:42 +0300 |
commit | 4554178f072ea1fad054381ba5ce3b48b5cf9280 (patch) | |
tree | 3588b834122f84abfabbe712a5141d169f907ab6 /libavcodec/qsvdec_mpeg2.c | |
parent | c36e85b3d9a13a223a621e7c322ce5903080cc4b (diff) | |
parent | 741b352b16dad74b87c4a39bade8902633a2b0e6 (diff) |
Merge commit '741b352b16dad74b87c4a39bade8902633a2b0e6'
* commit '741b352b16dad74b87c4a39bade8902633a2b0e6':
qsvdec: list supported pixel formats
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/qsvdec_mpeg2.c')
-rw-r--r-- | libavcodec/qsvdec_mpeg2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/qsvdec_mpeg2.c b/libavcodec/qsvdec_mpeg2.c index 36fd3b07d2..d9052e0c62 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 }, }; |