[vlc-devel] [PATCH] decoder: allow an extra frame for MPEG4 part 2/DivX/XviD

Steve Lhomme robux4 at ycbcr.xyz
Fri Jan 24 10:34:45 CET 2020


There can be 3 frames (instead of the default 2) in the decoder memory at once.

ref #23563
---
 src/input/decoder.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 5390e85f271..251be905926 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -439,6 +439,7 @@ static int ModuleThread_UpdateVideoFormat( decoder_t *p_dec, vlc_video_context *
         case VLC_CODEC_AV1:
             dpb_size = 10;
             break;
+        case VLC_CODEC_MP4V:
         case VLC_CODEC_VP5:
         case VLC_CODEC_VP6:
         case VLC_CODEC_VP6F:
-- 
2.17.1



More information about the vlc-devel mailing list