mirror of https://github.com/mpv-player/mpv
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:
parent
667e45974a
commit
6c36825079
|
@ -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
|
||||
)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue