[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.43,1.44

Arpi of Ize arpi at mplayer.dev.hu
Tue Nov 13 22:38:31 CET 2001


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv13381

Modified Files:
	demuxer.c 
Log Message:
001.vdr fix

Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- demuxer.c	13 Nov 2001 21:10:51 -0000	1.43
+++ demuxer.c	13 Nov 2001 21:38:29 -0000	1.44
@@ -431,9 +431,11 @@
       mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_DetectedMPEGPSfile);
     file_format=DEMUXER_TYPE_MPEG_PS;
   } else {
+    printf("MPEG packet stats: p100: %d  p101: %d  PES: %d \n",
+	num_elementary_packets100,num_elementary_packets101,num_elementary_packetsPES);
     // some hack to get meaningfull error messages to our unhappy users:
     if(num_elementary_packets100>=2 && num_elementary_packets101>=2 &&
-       abs(num_elementary_packets101-num_elementary_packets100)<8){
+       abs(num_elementary_packets101+8-num_elementary_packets100)<16){
       if(num_elementary_packetsPES>=4 && num_elementary_packetsPES>=num_elementary_packets100-4){
         --pes;continue; // tricky...
       }




More information about the MPlayer-cvslog mailing list