summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-15 00:36:21 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-15 00:36:21 +0000
commit3370d0d264abd74d3ac0e5a273f402eed5e203d4 (patch)
treee7cbf5a1aa65c86ddc72d4b56145af79c198da39 /mencoder.c
parentb4c20d5607cb8aca4f4f8ef41b776578fefa1794 (diff)
downloadmpv-3370d0d264abd74d3ac0e5a273f402eed5e203d4.tar.bz2
mpv-3370d0d264abd74d3ac0e5a273f402eed5e203d4.tar.xz
-sb option re-added (noticed by Alexandre Oliva <oliva@lsd.ic.unicamp.br>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5627 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mencoder.c b/mencoder.c
index 088c77ef6d..d0e01a0bd4 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -382,7 +382,7 @@ if(stream->type==STREAMTYPE_DVD){
}
#endif
- if(stream_cache_size) stream_enable_cache(stream,stream_cache_size*1024,0,0);
+ stream->start_pos+=seek_to_byte;
#ifdef HAVE_LIBCSS
// current_module="libcss";
@@ -403,6 +403,8 @@ if(stream->type==STREAMTYPE_DVD){
}
#endif
+ if(stream_cache_size) stream_enable_cache(stream,stream_cache_size*1024,0,0);
+
if(!has_audio || demuxer2) audio_id=-2; /* do NOT read audio packets... */
//demuxer=demux_open(stream,file_format,video_id,audio_id,dvdsub_id);