From 382a8ac0b02cb1af5610544c9683078b4ba54c75 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 17 Dec 2017 21:39:09 +0100 Subject: demux: bump the demuxer cache readahead duration Set it to 10 hours, which is practically unlimited. (Avoiding use of "inf", since that might interact strangely with the option parser and such.) --- demux/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demux/demux.c') diff --git a/demux/demux.c b/demux/demux.c index 94966f1fc4..311c6704f9 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -114,7 +114,7 @@ const struct m_sub_options demux_conf = { .max_bytes = 400 * 1024 * 1024, .max_bytes_bw = 400 * 1024 * 1024, .min_secs = 1.0, - .min_secs_cache = 120.0, + .min_secs_cache = 10.0 * 60 * 60, .seekable_cache = -1, .access_references = 1, }, -- cgit v1.2.3