[FFmpeg-cvslog] qsvdec_*: add missing CODEC_CAP_DR1
Anton Khirnov
git at videolan.org
Mon Jul 27 11:57:25 CEST 2015
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Jul 25 18:03:35 2015 +0200| [f3bd3810d274a7f51b5925fc3d2fc33e8043a5d4] | committer: Anton Khirnov
qsvdec_*: add missing CODEC_CAP_DR1
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f3bd3810d274a7f51b5925fc3d2fc33e8043a5d4
---
libavcodec/qsvdec_h2645.c | 4 ++--
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 99bce94..1c01121 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 dbe882b..31bdf92 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,
};
More information about the ffmpeg-cvslog
mailing list