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
This commit is contained in:
nicodvb 2007-02-28 23:47:05 +00:00
parent 667e45974a
commit 6c36825079
1 changed files with 2 additions and 1 deletions

View File

@ -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
)
{