summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-26 03:58:13 +0100
committerwm4 <wm4@nowhere>2015-01-26 03:58:13 +0100
commitf033eaff9b6b03899626078844b56bc5107b4229 (patch)
tree43f750361970af457f3be7dbe01513ec863d78c7
parent78f1f2017c4984d8c47465db6fdd61e465cf7fc9 (diff)
downloadmpv-f033eaff9b6b03899626078844b56bc5107b4229.tar.bz2
mpv-f033eaff9b6b03899626078844b56bc5107b4229.tar.xz
options: make --hls-bitrate=max the default
The previous default ("no") seemed to be equivalent to "min" in practice (though it might depend on the website, which is even worse). Better just select the best stream by default.
-rw-r--r--DOCS/man/options.rst4
-rw-r--r--options/options.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index ce57228c41..c030bcc1b2 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -3130,9 +3130,9 @@ Network
by default. The option allows the following parameters:
:no: Don't do anything special. Typically, this will simply pick the
- first audio/video streams it can find. (Default.)
+ first audio/video streams it can find.
:min: Pick the streams with the lowest bitrate.
- :max: Same, but highest bitrate.
+ :max: Same, but highest bitrate. (Default.)
The bitrate as used is sent by the server, and there's no guarantee it's
actually meaningful.
diff --git a/options/options.c b/options/options.c
index 06606b6c36..1748b3293c 100644
--- a/options/options.c
+++ b/options/options.c
@@ -729,6 +729,7 @@ const struct MPOpts mp_default_opts = {
.demuxer_min_bytes = 0,
.demuxer_min_secs = 0.2,
.network_rtsp_transport = 2,
+ .hls_bitrate = 2,
.demuxer_min_secs_cache = 2,
.cache_pausing = 1,
.chapterrange = {-1, -1},