[Mplayer-cvslog] CVS: main mplayer.c,1.75,1.76

Gabor Lenart lgb at users.sourceforge.net
Wed Apr 18 00:59:27 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv27631

Modified Files:
	mplayer.c 
Log Message:
Seeking to sector boundary (STREAM_BUFFER_SIZE) for MPEGs

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -r1.75 -r1.76
*** mplayer.c	2001/04/17 22:04:44	1.75
--- mplayer.c	2001/04/17 22:59:25	1.76
***************
*** 1909,1915 ****
  
          if(newpos<seek_to_byte) newpos=seek_to_byte;
! #ifdef HAVE_LIBCSS
!         if (dvd_device) newpos&=~(STREAM_BUFFER_SIZE-1);  /* sector boundary */
! #endif
          stream_seek(demuxer->stream,newpos);
          // re-sync video:
--- 1909,1913 ----
  
          if(newpos<seek_to_byte) newpos=seek_to_byte;
!         newpos&=~(STREAM_BUFFER_SIZE-1);  /* sector boundary */
          stream_seek(demuxer->stream,newpos);
          // re-sync video:


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list