diff options
author | wm4 <wm4@nowhere> | 2014-08-30 19:37:21 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-30 19:37:21 +0200 |
commit | 829fdef2193584ccf9b671747df9e4a806f82137 (patch) | |
tree | b9e72c205b649e7d528e87479915d6f8788e7b29 /options | |
parent | b8f2f0d69eb8b8a404eaffd23cf3aab8560e29ec (diff) | |
download | mpv-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')
-rw-r--r-- | options/options.c | 2 |
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, |