1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

qsvdec_*: add missing CODEC_CAP_DR1

This commit is contained in:
Anton Khirnov
2015-07-25 18:03:35 +02:00
parent 342b0ba5f9
commit f3bd3810d2
2 changed files with 3 additions and 3 deletions

View File

@@ -241,7 +241,7 @@ AVCodec ff_hevc_qsv_decoder = {
.decode = qsv_decode_frame, .decode = qsv_decode_frame,
.flush = qsv_decode_flush, .flush = qsv_decode_flush,
.close = qsv_decode_close, .close = qsv_decode_close,
.capabilities = CODEC_CAP_DELAY, .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
.priv_class = &hevc_class, .priv_class = &hevc_class,
}; };
#endif #endif
@@ -276,7 +276,7 @@ AVCodec ff_h264_qsv_decoder = {
.decode = qsv_decode_frame, .decode = qsv_decode_frame,
.flush = qsv_decode_flush, .flush = qsv_decode_flush,
.close = qsv_decode_close, .close = qsv_decode_close,
.capabilities = CODEC_CAP_DELAY, .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
.priv_class = &class, .priv_class = &class,
}; };
#endif #endif

View File

@@ -174,6 +174,6 @@ AVCodec ff_mpeg2_qsv_decoder = {
.decode = qsv_decode_frame, .decode = qsv_decode_frame,
.flush = qsv_decode_flush, .flush = qsv_decode_flush,
.close = qsv_decode_close, .close = qsv_decode_close,
.capabilities = CODEC_CAP_DELAY, .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
.priv_class = &class, .priv_class = &class,
}; };