[MPlayer-cvslog] r22381 - trunk/libmpdemux/demux_mpg.c

nicodvb subversion at mplayerhq.hu
Thu Mar 1 00:47:05 CET 2007


Author: nicodvb
Date: Thu Mar  1 00:47:05 2007
New Revision: 22381

Modified:
   trunk/libmpdemux/demux_mpg.c

Log:
test the continuity of timestamps for STREAMTYPE_VCD, too; patch by Zuxy Meng

Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c	(original)
+++ trunk/libmpdemux/demux_mpg.c	Thu Mar  1 00:47:05 2007
@@ -180,7 +180,8 @@ static demuxer_t* demux_mpg_open(demuxer
 
     //if seeking is allowed set has_valid_timestamps if appropriate
     if(demuxer->seekable
-       && demuxer->stream->type == STREAMTYPE_FILE 
+       && (demuxer->stream->type == STREAMTYPE_FILE
+           || demuxer->stream->type == STREAMTYPE_VCD)
        && demuxer->movi_start != demuxer-> movi_end
     )
     {



More information about the MPlayer-cvslog mailing list