summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-12-17 21:39:09 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2017-12-23 00:32:59 +0100
commit382a8ac0b02cb1af5610544c9683078b4ba54c75 (patch)
tree0c05ee7858bd19df7b49e860b9d8c54b8449c963 /demux
parentcc8759a855dcd5da168874e055089065a7ac44d0 (diff)
downloadmpv-382a8ac0b02cb1af5610544c9683078b4ba54c75.tar.bz2
mpv-382a8ac0b02cb1af5610544c9683078b4ba54c75.tar.xz
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.)
Diffstat (limited to 'demux')
-rw-r--r--demux/demux.c2
1 files changed, 1 insertions, 1 deletions
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,
},