Mercurial > mplayer.hg
changeset 495:d4eb6bd44bbc
Seeking to sector boundary (STREAM_BUFFER_SIZE) for MPEGs
author | lgb |
---|---|
date | Tue, 17 Apr 2001 22:59:25 +0000 |
parents | 16204dea362c |
children | 6811760f7729 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Tue Apr 17 22:34:19 2001 +0000 +++ b/mplayer.c Tue Apr 17 22:59:25 2001 +0000 @@ -1908,9 +1908,7 @@ // picture->bitrate=2324*75*8; // standard VCD bitrate (75 sectors / sec) if(newpos<seek_to_byte) newpos=seek_to_byte; -#ifdef HAVE_LIBCSS - if (dvd_device) newpos&=~(STREAM_BUFFER_SIZE-1); /* sector boundary */ -#endif + newpos&=~(STREAM_BUFFER_SIZE-1); /* sector boundary */ stream_seek(demuxer->stream,newpos); // re-sync video: videobuf_code_len=0; // reset ES stream buffer