aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-12-22 00:03:03 +0100
committerLeo Izen <leo.izen@gmail.com>2023-12-22 22:08:29 -0500
commit370ce305f4f99073f823628606872f406d4abbff (patch)
tree6b7d8d758c8d91b76d3a8f45d006f27179132f6f /libavcodec
parent577dd7b762c9d81b9886ec967b91a7b03f459f23 (diff)
downloadffmpeg-370ce305f4f99073f823628606872f406d4abbff.tar.gz
avcodec/libjxlenc: Set AV_CODEC_CAP_DR1
This encoder uses ff_get_encode_buffer() to allocate the packet buffer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libjxlenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libjxlenc.c b/libavcodec/libjxlenc.c
index 3be47d8d08..ab2b5617b3 100644
--- a/libavcodec/libjxlenc.c
+++ b/libavcodec/libjxlenc.c
@@ -485,6 +485,7 @@ const FFCodec ff_libjxl_encoder = {
FF_CODEC_ENCODE_CB(libjxl_encode_frame),
.close = libjxl_encode_close,
.p.capabilities = AV_CODEC_CAP_OTHER_THREADS |
+ AV_CODEC_CAP_DR1 |
AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE,
.caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE |
FF_CODEC_CAP_AUTO_THREADS | FF_CODEC_CAP_INIT_CLEANUP |