[Mplayer-cvslog] CVS: main demux_mpg.c,1.28,1.29
Arpi of Ize
arpi at mplayer.dev.hu
Mon Aug 20 23:20:41 CEST 2001
- Previous message: [Mplayer-cvslog] CVS: main cfg-mplayer.h,1.77,1.78 configure,1.142,1.143 mplayer.c,1.226,1.227 open.c,1.5,1.6
- Next message: [Mplayer-cvslog] CVS: main/DOCS Requirements,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv4646
Modified Files:
demux_mpg.c
Log Message:
fixed seeking (now allows seeking before start position)
Index: demux_mpg.c
===================================================================
RCS file: /cvsroot/mplayer/main/demux_mpg.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- demux_mpg.c 17 Aug 2001 00:40:25 -0000 1.28
+++ demux_mpg.c 20 Aug 2001 21:20:39 -0000 1.29
@@ -357,7 +357,9 @@
else
newpos=demuxer->filepos+(sh_video->i_bps)*rel_seek_secs;
- if(newpos<demuxer->stream->start_pos) newpos=demuxer->stream->start_pos; // for VCD
+ if(newpos<demuxer->stream->start_pos
+ && demuxer->stream->type==STREAMTYPE_VCD)
+ newpos=demuxer->stream->start_pos; // for VCD
#ifdef _LARGEFILE_SOURCE
newpos&=~((long long)STREAM_BUFFER_SIZE-1); /* sector boundary */
#else
- Previous message: [Mplayer-cvslog] CVS: main cfg-mplayer.h,1.77,1.78 configure,1.142,1.143 mplayer.c,1.226,1.227 open.c,1.5,1.6
- Next message: [Mplayer-cvslog] CVS: main/DOCS Requirements,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list