qsvdec_*: add missing CODEC_CAP_DR1
authorAnton Khirnov <anton@khirnov.net>
Sat, 25 Jul 2015 16:03:35 +0000 (18:03 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 27 Jul 2015 05:44:34 +0000 (07:44 +0200)
libavcodec/qsvdec_h2645.c
libavcodec/qsvdec_mpeg2.c

index 99bce94..1c01121 100644 (file)
@@ -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
index dbe882b..31bdf92 100644 (file)
@@ -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,
 };