diff options
author | wm4 <wm4@nowhere> | 2013-07-10 15:03:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-10 15:05:24 +0200 |
commit | 175cd3cb570525fd4ed8f6ec66e3a66a461cc896 (patch) | |
tree | efd5b88dfc15f077601aa899c45f5a21be69f925 /core/options.h | |
parent | 1d48b11478b346411d57b8fee1c242591f9b83c5 (diff) | |
download | mpv-175cd3cb570525fd4ed8f6ec66e3a66a461cc896.tar.bz2 mpv-175cd3cb570525fd4ed8f6ec66e3a66a461cc896.tar.xz |
options: add --cache-default option
Add this option, which lets users set the cache size without forcing it
even when playing from the local filesystem.
Also document the default value explicitly.
The Matroska linked segments case is slightly simplified: they can
never come from network (mostly because it'd be insane, and we can't
even list files from network sources), so the cache will never be
enabled automatically.
Diffstat (limited to 'core/options.h')
-rw-r--r-- | core/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/options.h b/core/options.h index 1eb111e33e..28932693ed 100644 --- a/core/options.h +++ b/core/options.h @@ -92,6 +92,7 @@ typedef struct MPOpts { int load_config; int use_filedir_conf; int stream_cache_size; + int stream_cache_def_size; float stream_cache_min_percent; float stream_cache_seek_min_percent; int stream_cache_pause; |