You've already forked FFmpeg
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:
@@ -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
|
||||||
|
@@ -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,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user