summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c5
-rw-r--r--options/options.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index a2322e7bb1..679133dbb3 100644
--- a/options/options.c
+++ b/options/options.c
@@ -89,6 +89,7 @@ extern const struct m_sub_options angle_conf;
extern const struct m_sub_options cocoa_conf;
extern const struct m_sub_options macos_conf;
extern const struct m_sub_options android_conf;
+extern const struct m_sub_options vaapi_conf;
static const struct m_sub_options screenshot_conf = {
.opts = image_writer_opts,
@@ -756,6 +757,10 @@ const m_option_t mp_opts[] = {
0, INT_MAX, ({"auto", -1})),
#endif
+#if HAVE_VAAPI
+ OPT_SUBSTRUCT("vaapi", vaapi_opts, vaapi_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 ac852b6484..1e95e78e80 100644
--- a/options/options.h
+++ b/options/options.h
@@ -347,6 +347,7 @@ typedef struct MPOpts {
struct macos_opts *macos_opts;
struct android_opts *android_opts;
struct dvd_opts *dvd_opts;
+ struct vaapi_opts *vaapi_opts;
int cuda_device;
} MPOpts;