changeset 22363:03ba33feaae9

test the continuity of timestamps for STREAMTYPE_VCD, too; patch by Zuxy Meng
author nicodvb
date Wed, 28 Feb 2007 23:47:05 +0000
parents e244d570ba44
children 522954b26e17
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Wed Feb 28 23:40:39 2007 +0000
+++ b/libmpdemux/demux_mpg.c	Wed Feb 28 23:47:05 2007 +0000
@@ -180,7 +180,8 @@
 
     //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
     )
     {