[PATCH]libmpdemux: Increase MAX_PACK_BYTES

Carl Eugen Hoyos <[email protected]>
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
Hi!

Attached patch (at least 0xB000000) is needed for playback of the file 
mentioned in this vlc bug report:
https://trac.videolan.org/vlc/ticket/16684
Without the patch, I see this message with -lavdopts threads=8:
Too many video packets in the buffer: (10 in 36844684 bytes).

Please comment, Carl Eugen

_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
patchmaxbytes.diff (text/plain, 365 B)
Index: libmpdemux/demuxer.h
===================================================================
--- libmpdemux/demuxer.h	(revision 37787)
+++ libmpdemux/demuxer.h	(working copy)
@@ -37,7 +37,7 @@
 #endif
 
 #define MAX_PACKS 4096
-#define MAX_PACK_BYTES 0x2000000
+#define MAX_PACK_BYTES 0x10000000
 
 #define DEMUXER_TYPE_UNKNOWN 0
 #define DEMUXER_TYPE_MPEG_ES 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.