[MPlayer-users] MAX_PACK_BYTES default increase?

Grant emailgrant at gmail.com
Fri Dec 19 16:21:12 CET 2008


When playing back 1080p video on my Linux system, I get numerous "too
many video packets in the buffer" console messages and the the a/v
can't maintain sync.  This happens with both software decoding and
Nvidia VDPAU.  The following patch fixes it.  Can this be changed by
default?

--- libmpdemux/demuxer.h        2008-12-19 06:36:34.000000000 -0800
+++ libmpdemux/demuxer.h        2008-12-19 06:36:54.000000000 -0800
@@ -23,7 +23,7 @@
 #ifdef CONFIG_TV_BSDBT848
 #define MAX_PACK_BYTES 0x2000000
 #else
-#define MAX_PACK_BYTES 0x800000
+#define MAX_PACK_BYTES 0x8000000
 #endif

 #define DEMUXER_TYPE_UNKNOWN 0

- Grant



More information about the MPlayer-users mailing list