From b7bb0de1d96e4e55203cf9a646af5512102daa28 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 27 Feb 2015 12:44:40 +0100 Subject: 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... --- options/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options') 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}, -- cgit v1.2.3