diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-11-27 13:37:10 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-01-29 09:22:57 +0100 |
commit | 8d73f3ce56fc90d840c83e8ab3463474d2d38046 (patch) | |
tree | 2c39943e0e05d06f198a9f80845e49eb88c0eeb7 /libavcodec/rv20enc.c | |
parent | 5c0348f3d61ce850fa33fe79b5d2bc49f7b52683 (diff) | |
download | ffmpeg-8d73f3ce56fc90d840c83e8ab3463474d2d38046.tar.gz |
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/rv20enc.c')
-rw-r--r-- | libavcodec/rv20enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rv20enc.c b/libavcodec/rv20enc.c index b1b88819db..dc26877d5e 100644 --- a/libavcodec/rv20enc.c +++ b/libavcodec/rv20enc.c @@ -68,6 +68,7 @@ const FFCodec ff_rv20_encoder = { .p.type = AVMEDIA_TYPE_VIDEO, .p.id = AV_CODEC_ID_RV20, .p.priv_class = &ff_mpv_enc_class, + .p.capabilities = AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, .priv_data_size = sizeof(MpegEncContext), .init = ff_mpv_encode_init, FF_CODEC_ENCODE_CB(ff_mpv_encode_picture), |