[MPlayer-cvslog] r21937 - trunk/libmpdemux/demux_mpg.c
nicodvb
subversion at mplayerhq.hu
Tue Jan 16 00:03:45 CET 2007
Author: nicodvb
Date: Tue Jan 16 00:03:45 2007
New Revision: 21937
Modified:
trunk/libmpdemux/demux_mpg.c
Log:
one more #if 1 removed
Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c (original)
+++ trunk/libmpdemux/demux_mpg.c Tue Jan 16 00:03:45 2007
@@ -687,7 +687,7 @@
mp_msg(MSGT_DEMUX,MSGL_DBG3,"Opps... PES packet found: %03X\n",head);
} else
if(head==0x1B6) ++num_elementary_packets1B6;
-#if 1
+
if( ( (num_elementary_packets100>50 && num_elementary_packets101>50) ||
(num_elementary_packetsPES>50) ) && skipped>4000000){
mp_msg(MSGT_DEMUX,MSGL_V,"sync_mpeg_ps: seems to be ES/PES stream...\n");
@@ -699,7 +699,6 @@
demux->stream->eof=1;
break;
}
-#endif
}
} while(ret!=1);
mp_dbg(MSGT_DEMUX,MSGL_DBG2,"demux: %d bad bytes skipped\n",skipped);
More information about the MPlayer-cvslog
mailing list