[FFmpeg-cvslog] avcodec/yop: Add missing AV_CODEC_CAP_DR1
Andreas Rheinhardt
git at videolan.org
Sun May 19 13:08:42 EEST 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu May 9 01:12:00 2024 +0200| [2a00d68c09ea37a0b413c103a0fad915c8ebb067] | committer: Andreas Rheinhardt
avcodec/yop: Add missing AV_CODEC_CAP_DR1
This decoder does not do anything fancy any more since
c6303f8d70c25dd6c6e6486c78bf99c9924e2b6b (before that,
it overwrote the frame's linesize) so that it supports
direct rendering. This effectively reverts
d3de3a16d1e428139c1541e55ea483466c1380e7.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2a00d68c09ea37a0b413c103a0fad915c8ebb067
---
libavcodec/yop.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/yop.c b/libavcodec/yop.c
index 1294c5cc00..77b8d6e055 100644
--- a/libavcodec/yop.c
+++ b/libavcodec/yop.c
@@ -274,6 +274,7 @@ const FFCodec ff_yop_decoder = {
CODEC_LONG_NAME("Psygnosis YOP Video"),
.p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_YOP,
+ .p.capabilities = AV_CODEC_CAP_DR1,
.priv_data_size = sizeof(YopDecContext),
.init = yop_decode_init,
.close = yop_decode_close,
More information about the ffmpeg-cvslog
mailing list