summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
-rw-r--r--options/options.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 5d16019f29..02ee782f75 100644
--- a/options/options.c
+++ b/options/options.c
@@ -463,6 +463,8 @@ const m_option_t mp_opts[] = {
OPT_INTRANGE("contrast", gamma_contrast, 0, -100, 100),
OPT_INTRANGE("hue", gamma_hue, 0, -100, 100),
OPT_INTRANGE("gamma", gamma_gamma, 0, -100, 100),
+ OPT_CHOICE_C("video-output-levels", video_output_levels, 0,
+ mp_csp_levels_names),
OPT_FLAG("keepaspect", vo.keepaspect, 0),
OPT_FLAG("keepaspect-window", vo.keepaspect_window, 0),
diff --git a/options/options.h b/options/options.h
index 5cf144a045..2a4bb8302d 100644
--- a/options/options.h
+++ b/options/options.h
@@ -103,6 +103,7 @@ typedef struct MPOpts {
int gamma_contrast;
int gamma_saturation;
int gamma_hue;
+ int video_output_levels;
int stop_screensaver;
int cursor_autohide_delay;