From 370ce305f4f99073f823628606872f406d4abbff Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 22 Dec 2023 00:03:03 +0100 Subject: [PATCH] avcodec/libjxlenc: Set AV_CODEC_CAP_DR1 This encoder uses ff_get_encode_buffer() to allocate the packet buffer. Signed-off-by: Andreas Rheinhardt --- libavcodec/libjxlenc.c | 1 + 1 file changed, 1 insertion(+) 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 |