summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
-rw-r--r--options/options.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index d286e5b63c..d92a0eef5d 100644
--- a/options/options.c
+++ b/options/options.c
@@ -297,6 +297,7 @@ const m_option_t mp_opts[] = {
OPT_FLAG("ad-spdif-dtshd", dtshd, 0),
OPT_CHOICE_C("hwdec", hwdec_api, 0, mp_hwdec_names),
+ OPT_CHOICE_C("hwdec-preload", vo.hwdec_preload_api, 0, mp_hwdec_names),
OPT_STRING("hwdec-codecs", hwdec_codecs, 0),
OPT_SUBSTRUCT("sws", vo.sws_opts, sws_conf, 0),
diff --git a/options/options.h b/options/options.h
index b5e0e1f624..9d211390e0 100644
--- a/options/options.h
+++ b/options/options.h
@@ -42,7 +42,10 @@ typedef struct mp_vo_opts {
float monitor_pixel_aspect;
int force_window_position;
+ // vo_wayland, vo_drm
struct sws_opts *sws_opts;
+ // vo_opengl, vo_opengl_cb
+ int hwdec_preload_api;
} mp_vo_opts;
struct mp_cache_opts {