summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c6
-rw-r--r--options/options.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 6afe611c6d..af13d1e434 100644
--- a/options/options.c
+++ b/options/options.c
@@ -88,6 +88,8 @@ extern const struct m_obj_list af_obj_list;
extern const struct m_obj_list vo_obj_list;
extern const struct m_obj_list ao_obj_list;
+extern const struct m_sub_options angle_conf;
+
const struct m_opt_choice_alternatives mp_hwdec_names[] = {
{"no", HWDEC_NONE},
{"auto", HWDEC_AUTO},
@@ -691,6 +693,10 @@ const m_option_t mp_opts[] = {
OPT_SUBSTRUCT("", gl_video_opts, gl_video_conf, 0),
#endif
+#if HAVE_EGL_ANGLE
+ OPT_SUBSTRUCT("", angle_opts, angle_conf, 0),
+#endif
+
#if HAVE_ENCODING
OPT_SUBSTRUCT("", encode_opts, encode_config, 0),
#endif
diff --git a/options/options.h b/options/options.h
index d3b0ace24f..842781cb4b 100644
--- a/options/options.h
+++ b/options/options.h
@@ -320,6 +320,7 @@ typedef struct MPOpts {
char *input_file;
struct gl_video_opts *gl_video_opts;
+ struct angle_opts *angle_opts;
struct dvd_opts *dvd_opts;
} MPOpts;