summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-27 12:44:40 +0100
committerwm4 <wm4@nowhere>2015-02-27 12:44:40 +0100
commitb7bb0de1d96e4e55203cf9a646af5512102daa28 (patch)
tree4b62765a72f419ee6e6d0f9032e65d0f7b281100 /options
parentd896f043e400451493db229da959ce1e8c3403bb (diff)
downloadmpv-b7bb0de1d96e4e55203cf9a646af5512102daa28.tar.bz2
mpv-b7bb0de1d96e4e55203cf9a646af5512102daa28.tar.xz
demux: bump default demuxer queue sizes
Now that we have fast stream switching, we can bump these sizes, as the queues cause no delay in switching anymore. Of course, the fast stream switching works for mkv and mp4 only. Other formats will incur a quite terrible delay especially in network mode, which this commit changes to 10 seconds. Let's see if someone complains...
Diffstat (limited to 'options')
-rw-r--r--options/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c
index 1dd9eaffb2..cc79a2d941 100644
--- a/options/options.c
+++ b/options/options.c
@@ -737,11 +737,11 @@ const struct MPOpts mp_default_opts = {
.demuxer_thread = 1,
.demuxer_min_packs = 0,
.demuxer_min_bytes = 0,
- .demuxer_min_secs = 0.2,
+ .demuxer_min_secs = 1.0,
.network_rtsp_transport = 2,
.network_timeout = 0.0,
.hls_bitrate = 2,
- .demuxer_min_secs_cache = 2,
+ .demuxer_min_secs_cache = 10.0,
.cache_pausing = 1,
.chapterrange = {-1, -1},
.ab_loop = {MP_NOPTS_VALUE, MP_NOPTS_VALUE},