diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-07-25 18:03:35 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-07-27 07:44:34 +0200 |
commit | f3bd3810d274a7f51b5925fc3d2fc33e8043a5d4 (patch) | |
tree | 544aba6df27cf22da84a95a5e891c74d4dc75f58 /libavcodec | |
parent | 342b0ba5f93b09b1d0c2597db44605300e6fcc53 (diff) | |
download | ffmpeg-f3bd3810d274a7f51b5925fc3d2fc33e8043a5d4.tar.gz |
qsvdec_*: add missing CODEC_CAP_DR1
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qsvdec_h2645.c | 4 | ||||
-rw-r--r-- | libavcodec/qsvdec_mpeg2.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/qsvdec_h2645.c b/libavcodec/qsvdec_h2645.c index 99bce94639..1c01121eb3 100644 --- a/libavcodec/qsvdec_h2645.c +++ b/libavcodec/qsvdec_h2645.c @@ -241,7 +241,7 @@ AVCodec ff_hevc_qsv_decoder = { .decode = qsv_decode_frame, .flush = qsv_decode_flush, .close = qsv_decode_close, - .capabilities = CODEC_CAP_DELAY, + .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, .priv_class = &hevc_class, }; #endif @@ -276,7 +276,7 @@ AVCodec ff_h264_qsv_decoder = { .decode = qsv_decode_frame, .flush = qsv_decode_flush, .close = qsv_decode_close, - .capabilities = CODEC_CAP_DELAY, + .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, .priv_class = &class, }; #endif diff --git a/libavcodec/qsvdec_mpeg2.c b/libavcodec/qsvdec_mpeg2.c index dbe882bf74..31bdf926a9 100644 --- a/libavcodec/qsvdec_mpeg2.c +++ b/libavcodec/qsvdec_mpeg2.c @@ -174,6 +174,6 @@ AVCodec ff_mpeg2_qsv_decoder = { .decode = qsv_decode_frame, .flush = qsv_decode_flush, .close = qsv_decode_close, - .capabilities = CODEC_CAP_DELAY, + .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, .priv_class = &class, }; |