summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index ca8be17f8c..d99a223069 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -266,7 +266,7 @@ int forced_subs_only=0;
extern int cache_fill_status;
float stream_cache_min_percent=20.0;
-float stream_cache_prefill_percent=5.0;
+float stream_cache_seek_min_percent=50.0;
#else
#define cache_fill_status 0
#endif
@@ -1640,7 +1640,9 @@ goto_enable_cache:
#endif
if(stream_cache_size>0){
current_module="enable_cache";
- if(!stream_enable_cache(stream,stream_cache_size*1024,stream_cache_size*1024*(stream_cache_min_percent / 100.0),stream_cache_size*1024*(stream_cache_prefill_percent / 100.0)))
+ if(!stream_enable_cache(stream,stream_cache_size*1024,
+ stream_cache_size*1024*(stream_cache_min_percent / 100.0),
+ stream_cache_size*1024*(stream_cache_seek_min_percent / 100.0)))
if((eof = libmpdemux_was_interrupted(PT_NEXT_ENTRY))) goto goto_next_file;
}