summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-30 19:37:21 +0200
committerwm4 <wm4@nowhere>2014-08-30 19:37:21 +0200
commit829fdef2193584ccf9b671747df9e4a806f82137 (patch)
treeb9e72c205b649e7d528e87479915d6f8788e7b29 /options/options.c
parentb8f2f0d69eb8b8a404eaffd23cf3aab8560e29ec (diff)
downloadmpv-829fdef2193584ccf9b671747df9e4a806f82137.tar.bz2
mpv-829fdef2193584ccf9b671747df9e4a806f82137.tar.xz
player: reduce default demuxer cache
A (hopefully) temporary hack to make stream switching delays tolerable. It's not clear how this should be handled (either executing a precise seek on track switching, or always enabling all streams), so get this issue out of the way for now by picking a rather low value.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index a77568858d..0f97528ba1 100644
--- a/options/options.c
+++ b/options/options.c
@@ -603,7 +603,7 @@ const struct MPOpts mp_default_opts = {
.demuxer_min_bytes = 0,
.demuxer_min_secs = 0.2,
.network_rtsp_transport = 2,
- .demuxer_min_secs_cache = 10,
+ .demuxer_min_secs_cache = 2,
.cache_pausing = 1,
.chapterrange = {-1, -1},
.edition_id = -1,