avcodec/yop: Add missing AV_CODEC_CAP_DR1

This decoder does not do anything fancy any more since
c6303f8d70 (before that,
it overwrote the frame's linesize) so that it supports
direct rendering. This effectively reverts
d3de3a16d1.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-05-09 01:12:00 +02:00
parent df3cdf4c75
commit 2a00d68c09
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ const FFCodec ff_yop_decoder = {
CODEC_LONG_NAME("Psygnosis YOP Video"), CODEC_LONG_NAME("Psygnosis YOP Video"),
.p.type = AVMEDIA_TYPE_VIDEO, .p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_YOP, .p.id = AV_CODEC_ID_YOP,
.p.capabilities = AV_CODEC_CAP_DR1,
.priv_data_size = sizeof(YopDecContext), .priv_data_size = sizeof(YopDecContext),
.init = yop_decode_init, .init = yop_decode_init,
.close = yop_decode_close, .close = yop_decode_close,