From 6c368250796617ab199f2151d60de50cdd08c2dd Mon Sep 17 00:00:00 2001 From: nicodvb Date: Wed, 28 Feb 2007 23:47:05 +0000 Subject: [PATCH] test the continuity of timestamps for STREAMTYPE_VCD, too; patch by Zuxy Meng git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22381 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_mpg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmpdemux/demux_mpg.c b/libmpdemux/demux_mpg.c index f365e342d0..43db999493 100644 --- a/libmpdemux/demux_mpg.c +++ b/libmpdemux/demux_mpg.c @@ -180,7 +180,8 @@ static demuxer_t* demux_mpg_open(demuxer_t* 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 ) {