diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-28 23:47:05 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-28 23:47:05 +0000 |
commit | 6c368250796617ab199f2151d60de50cdd08c2dd (patch) | |
tree | 05a4ee89e468ad208f648d659f197be86610640e | |
parent | 667e45974a3a3f779ebf9fb2bda444780a06a9fa (diff) | |
download | mpv-6c368250796617ab199f2151d60de50cdd08c2dd.tar.bz2 mpv-6c368250796617ab199f2151d60de50cdd08c2dd.tar.xz |
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
-rw-r--r-- | libmpdemux/demux_mpg.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 ) { |