diff options
Diffstat (limited to 'libmpdemux')
-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 ) { |