[FFmpeg-cvslog] avcodec/libxevd: Set AV_CODEC_CAP_DR1

Andreas Rheinhardt git at videolan.org
Fri Mar 1 02:41:08 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Feb 27 19:07:51 2024 +0100| [4e14a8e6be99c90fabd62b61a5959fb187ddb3a6] | committer: Andreas Rheinhardt

avcodec/libxevd: Set AV_CODEC_CAP_DR1

This decoder uses av_image_copy() to copy decoded images
to buffers obtained via ff_get_buffer(); ergo it can handle
user-provided buffers.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4e14a8e6be99c90fabd62b61a5959fb187ddb3a6
---

 libavcodec/libxevd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c
index d00c9df091..6ea77077f2 100644
--- a/libavcodec/libxevd.c
+++ b/libavcodec/libxevd.c
@@ -531,7 +531,8 @@ const FFCodec ff_libxevd_decoder = {
     .close              = libxevd_close,
     .priv_data_size     = sizeof(XevdContext),
     .p.priv_class       = &libxevd_class,
-    .p.capabilities     = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_OTHER_THREADS | AV_CODEC_CAP_AVOID_PROBING,
+    .p.capabilities     = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY |
+                          AV_CODEC_CAP_OTHER_THREADS | AV_CODEC_CAP_AVOID_PROBING,
     .p.profiles         = NULL_IF_CONFIG_SMALL(ff_evc_profiles),
     .p.wrapper_name     = "libxevd",
     .caps_internal      = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_NOT_INIT_THREADSAFE |



More information about the ffmpeg-cvslog mailing list