summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c3
-rw-r--r--options/options.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 00c8c0fbb5..d436cb7535 100644
--- a/options/options.c
+++ b/options/options.c
@@ -202,6 +202,9 @@ const m_option_t mp_opts[] = {
OPT_STRING("quvi-format", quvi_format, 0),
OPT_FLAG("quvi-fetch-subtitles", quvi_fetch_subtitles, 0),
+ OPT_CHOICE("hls-bitrate", hls_bitrate, M_OPT_FIXED,
+ ({"no", 0}, {"min", 1}, {"max", 2})),
+
#if HAVE_CDDA
OPT_SUBSTRUCT("cdda", stream_cdda_opts, stream_cdda_conf, 0),
OPT_STRING("cdrom-device", cdrom_device, 0),
diff --git a/options/options.h b/options/options.h
index 701c9e236b..83593c837a 100644
--- a/options/options.h
+++ b/options/options.h
@@ -123,6 +123,7 @@ typedef struct MPOpts {
char *force_configdir;
int use_filedir_conf;
int network_rtsp_transport;
+ int hls_bitrate;
struct mp_cache_opts stream_cache;
int chapterrange[2];
int edition_id;