From 57efe9089cf51587d24686b98b319812e4c9ce23 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 13 Jul 2015 13:34:58 +0200 Subject: player: extend --hls-bitrate option Fixes #2116. --- options/options.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'options') diff --git a/options/options.c b/options/options.c index 7523be990a..62c9bc2286 100644 --- a/options/options.c +++ b/options/options.c @@ -223,8 +223,8 @@ const m_option_t mp_opts[] = { OPT_CHOICE("audio-display", audio_display, 0, ({"no", 0}, {"attachment", 1})), - OPT_CHOICE("hls-bitrate", hls_bitrate, 0, - ({"no", 0}, {"min", 1}, {"max", 2})), + OPT_CHOICE_OR_INT("hls-bitrate", hls_bitrate, 0, 0, INT_MAX, + ({"no", -1}, {"min", 0}, {"max", INT_MAX})), OPT_STRINGLIST("display-tags*", display_tags, 0), @@ -722,7 +722,7 @@ const struct MPOpts mp_default_opts = { .demuxer_min_secs = 1.0, .network_rtsp_transport = 2, .network_timeout = 0.0, - .hls_bitrate = 2, + .hls_bitrate = INT_MAX, .demuxer_min_secs_cache = 10.0, .cache_pausing = 1, .chapterrange = {-1, -1}, -- cgit v1.2.3