summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorlgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-17 22:59:25 +0000
committerlgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-17 22:59:25 +0000
commit2f76b3830d1ce517fcc824060fa43358ea20624e (patch)
tree2acdc61eb967516755ac1b675f296488593dd68a /mplayer.c
parent5fad3952b267edf82fcaea2380a9fe74bb87a451 (diff)
downloadmpv-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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mplayer.c b/mplayer.c
index 023c210a54..575b8620fe 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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