ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | 
Wed Mar 19 16:55:22 2025 +0100| [b29ae29ee75327902d6e34a4fbc916caaffb2bcf] | 
committer: Andreas Rheinhardt

avcodec/h261dec: Set FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM

This decoder sets the AVCodecContext fields even when a frame
is skipped.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>

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

 libavcodec/h261dec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index c32ddd2ddf..1f57c9f8fe 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -617,4 +617,5 @@ const FFCodec ff_h261_decoder = {
     .close          = ff_mpv_decode_close,
     .p.capabilities = AV_CODEC_CAP_DR1,
     .p.max_lowres   = 3,
+    .caps_internal  = FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM,
 };

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to