diff options
Diffstat (limited to 'libmpdemux/demux_mpg.c')
-rw-r--r-- | libmpdemux/demux_mpg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmpdemux/demux_mpg.c b/libmpdemux/demux_mpg.c index 0d91dad988..166dc34154 100644 --- a/libmpdemux/demux_mpg.c +++ b/libmpdemux/demux_mpg.c @@ -598,6 +598,11 @@ int ret=0; // System stream do{ demux->filepos=stream_tell(demux->stream); +#if 1 + //lame workaround: this is needed to show the progress bar when playing dvdnav:// + //(ths poor guy doesn't know teh length of the stream at startup) + demux->movi_end = demux->stream->end_pos; +#endif head=stream_read_dword(demux->stream); if((head&0xFFFFFF00)!=0x100){ // sync... |