diff options
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 5 |
1 files changed, 5 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 |