summaryrefslogtreecommitdiff
path: root/libavcodec/v408enc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-11-27 13:37:10 +0100
committerAnton Khirnov <anton@khirnov.net>2023-01-29 09:22:57 +0100
commit8d73f3ce56fc90d840c83e8ab3463474d2d38046 (patch)
tree2c39943e0e05d06f198a9f80845e49eb88c0eeb7 /libavcodec/v408enc.c
parent5c0348f3d61ce850fa33fe79b5d2bc49f7b52683 (diff)
lavc: support AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE in all no-delay encoders
Including fake-delay encoders marked with FF_CODEC_CAP_EOF_FLUSH.
Diffstat (limited to 'libavcodec/v408enc.c')
-rw-r--r--libavcodec/v408enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/v408enc.c b/libavcodec/v408enc.c
index 514f41be4e..1faac7cc36 100644
--- a/libavcodec/v408enc.c
+++ b/libavcodec/v408enc.c
@@ -94,7 +94,7 @@ const FFCodec ff_ayuv_encoder = {
CODEC_LONG_NAME("Uncompressed packed MS 4:4:4:4"),
.p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_AYUV,
- .p.capabilities = AV_CODEC_CAP_DR1,
+ .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE,
.init = v408_encode_init,
FF_CODEC_ENCODE_CB(v408_encode_frame),
.p.pix_fmts = pix_fmt,
@@ -107,7 +107,7 @@ const FFCodec ff_v408_encoder = {
CODEC_LONG_NAME("Uncompressed packed QT 4:4:4:4"),
.p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_V408,
- .p.capabilities = AV_CODEC_CAP_DR1,
+ .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE,
.init = v408_encode_init,
FF_CODEC_ENCODE_CB(v408_encode_frame),
.p.pix_fmts = pix_fmt,