diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-17 16:56:56 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-17 16:56:56 +0000 |
commit | 267916c82be0b05f936abd75fe7a196e1fd3e4eb (patch) | |
tree | 1631c57b4c8b146a6a528821bb816f9393613c2a /mplayer.c | |
parent | 3db7b73bd93e1d41a8bfdb65df0c8201a3da8a29 (diff) | |
download | mpv-267916c82be0b05f936abd75fe7a196e1fd3e4eb.tar.bz2 mpv-267916c82be0b05f936abd75fe7a196e1fd3e4eb.tar.xz |
precaching
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3564 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -821,7 +821,8 @@ if(stream_dump_type==5){ #endif current_module=NULL; - if(stream_cache_size) stream_enable_cache(stream,stream_cache_size*1024); + // initial prefill: 20% later: 5% (should be set by -cacheopts) + if(stream_cache_size) stream_enable_cache(stream,stream_cache_size*1024,stream_cache_size*1024/5,stream_cache_size*1024/20); use_stdin=filename && (!strcmp(filename,"-")); |