diff options
author | wm4 <wm4@nowhere> | 2016-08-10 22:22:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-10 22:22:50 +0200 |
commit | 87190969a758d7c20c39a456f05926bff42ac533 (patch) | |
tree | c51fc6c3c34dabb0a76186d463b5b0ab38664946 /options/options.c | |
parent | 367e9fb7f1e2143607a6d1ae0c1db5765c5f003b (diff) | |
download | mpv-87190969a758d7c20c39a456f05926bff42ac533.tar.bz2 mpv-87190969a758d7c20c39a456f05926bff42ac533.tar.xz |
player: add --no-autoload-files option
Allt his auto-loading is getting annoying especially for testing.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 9dcaedcf2d..9e3e70385e 100644 --- a/options/options.c +++ b/options/options.c @@ -342,6 +342,7 @@ const m_option_t mp_opts[] = { OPT_PATHLIST("sub-paths", sub_paths, 0), OPT_PATHLIST("audio-file-paths", audiofile_paths, 0), OPT_STRING_APPEND_LIST("external-file", external_files, M_OPT_FILE), + OPT_FLAG("autoload-files", autoload_files, 0), OPT_STRING("sub-codepage", sub_cp, 0), OPT_FLOAT("sub-delay", sub_delay, 0), OPT_FLOAT("sub-fps", sub_fps, 0), @@ -763,6 +764,7 @@ const struct MPOpts mp_default_opts = { .sync_audio_drop_size = 0.020, .load_config = 1, .position_resume = 1, + .autoload_files = 1, .stream_cache = { .size = -1, .def_size = 75000, |