summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-07 12:28:28 +0100
committerwm4 <wm4@nowhere>2020-03-07 12:47:46 +0100
commitd6f282e162037fd2e10a30946187d0692cc34e43 (patch)
treefe46ed30518d698d389f382fbddd631d9b52877a
parentf20dfef880d9dc80b02a4368ee743f8a764f52db (diff)
downloadmpv-d6f282e162037fd2e10a30946187d0692cc34e43.tar.bz2
mpv-d6f282e162037fd2e10a30946187d0692cc34e43.tar.xz
demux: bump --cache-secs default value
Change to it 1000 hours, which is "infinite" enough. (Hesitant to use INFINITY, as that is not in the option's range. The option parser rejects it because it causes only problems in API users and so on.)
-rw-r--r--demux/demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 60fd54facf..1c7c3057b1 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -148,7 +148,7 @@ const struct m_sub_options demux_conf = {
.max_bytes_bw = 50 * 1024 * 1024,
.donate_fw = 1,
.min_secs = 1.0,
- .min_secs_cache = 10.0 * 60 * 60,
+ .min_secs_cache = 1000.0 * 60 * 60,
.seekable_cache = -1,
.access_references = 1,
.video_back_preroll = -1,