summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/options.rst4
-rw-r--r--options/options.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index a9ab7e5c81..1018cf5f95 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2241,7 +2241,7 @@ Demuxer
``--demuxer-readahead-secs=<seconds>``
If ``--demuxer-thread`` is enabled, this controls how much the demuxer
- should buffer ahead in seconds (default: 0.2). As long as no packet has
+ should buffer ahead in seconds (default: 1). As long as no packet has
a timestamp difference higher than the readahead amount relative to the
last packet returned to the decoder, the demuxer keeps reading.
@@ -3138,7 +3138,7 @@ Cache
``--cache-secs=<seconds>``
How many seconds of audio/video to prefetch if the cache is active. This
overrides the ``--demuxer-readahead-secs`` option if and only if the cache
- is enabled and the value is larger. (Default: 2.)
+ is enabled and the value is larger. (Default: 10.)
``--cache-pause``, ``--no-cache-pause``
Whether the player should automatically pause when the cache runs low,
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},