summaryrefslogtreecommitdiff
path: root/libavcodec/proresenc_kostya.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/proresenc_kostya.c
parent5c0348f3d61ce850fa33fe79b5d2bc49f7b52683 (diff)
downloadffmpeg-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/proresenc_kostya.c')
-rw-r--r--libavcodec/proresenc_kostya.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c
index 5b38437d0a..1940e0378a 100644
--- a/libavcodec/proresenc_kostya.c
+++ b/libavcodec/proresenc_kostya.c
@@ -1428,7 +1428,8 @@ const FFCodec ff_prores_ks_encoder = {
.init = encode_init,
.close = encode_close,
FF_CODEC_ENCODE_CB(encode_frame),
- .p.capabilities = AV_CODEC_CAP_SLICE_THREADS | AV_CODEC_CAP_FRAME_THREADS,
+ .p.capabilities = AV_CODEC_CAP_SLICE_THREADS | AV_CODEC_CAP_FRAME_THREADS |
+ AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE,
.p.pix_fmts = (const enum AVPixelFormat[]) {
AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV444P10,
AV_PIX_FMT_YUVA444P10, AV_PIX_FMT_NONE