diff options
author | lgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-17 22:59:25 +0000 |
---|---|---|
committer | lgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-17 22:59:25 +0000 |
commit | 2f76b3830d1ce517fcc824060fa43358ea20624e (patch) | |
tree | 2acdc61eb967516755ac1b675f296488593dd68a /mplayer.c | |
parent | 5fad3952b267edf82fcaea2380a9fe74bb87a451 (diff) | |
download | mpv-2f76b3830d1ce517fcc824060fa43358ea20624e.tar.bz2 mpv-2f76b3830d1ce517fcc824060fa43358ea20624e.tar.xz |
Seeking to sector boundary (STREAM_BUFFER_SIZE) for MPEGs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@496 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1908,9 +1908,7 @@ switch(file_format){ // 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 |