Browse Source

qsvdec_*: add missing CODEC_CAP_DR1

tags/n2.8
Anton Khirnov 10 years ago
parent
commit
f3bd3810d2
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      libavcodec/qsvdec_h2645.c
  2. +1
    -1
      libavcodec/qsvdec_mpeg2.c

+ 2
- 2
libavcodec/qsvdec_h2645.c View 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

+ 1
- 1
libavcodec/qsvdec_mpeg2.c View 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,
};

Loading…
Cancel
Save