Mercurial > mplayer.hg
diff mencoder.c @ 5626:b7b40e65c070
-sb option re-added (noticed by Alexandre Oliva <oliva@lsd.ic.unicamp.br>)
author | arpi |
---|---|
date | Mon, 15 Apr 2002 00:36:21 +0000 |
parents | 1972c3475d93 |
children | 9b422f216fb5 |
line wrap: on
line diff
--- a/mencoder.c Mon Apr 15 00:08:22 2002 +0000 +++ b/mencoder.c Mon Apr 15 00:36:21 2002 +0000 @@ -382,7 +382,7 @@ } #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 @@ } #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);