diff options
author | Dudemanguy <random342@airmail.cc> | 2024-02-14 12:36:05 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-17 18:56:20 +0000 |
commit | 85e84f6d9202c8f24def535a6aa78994c0223298 (patch) | |
tree | 35121c0fdf45341f12ad79245dc9008afb927a6a /options | |
parent | 073858fcddddc757dcfb0e10640d19ac8d6d925d (diff) | |
download | mpv-85e84f6d9202c8f24def535a6aa78994c0223298.tar.bz2 mpv-85e84f6d9202c8f24def535a6aa78994c0223298.tar.xz |
vo_gpu_next: move gpu-next opts to specific sub option
This matches the general workflow in the codebase. We keep a cache of
these new options and update them if needed.
Fixes #13481 and fixes #11518.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 2 | ||||
-rw-r--r-- | options/options.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index c229ce4320..e6c2ce0e69 100644 --- a/options/options.c +++ b/options/options.c @@ -75,6 +75,7 @@ extern const struct m_sub_options input_config; extern const struct m_sub_options encode_config; extern const struct m_sub_options ra_ctx_conf; extern const struct m_sub_options gl_video_conf; +extern const struct m_sub_options gl_next_conf; extern const struct m_sub_options ao_alsa_conf; extern const struct m_sub_options demux_conf; @@ -867,6 +868,7 @@ static const m_option_t mp_opts[] = { {"", OPT_SUBSTRUCT(ra_ctx_opts, ra_ctx_conf)}, {"", OPT_SUBSTRUCT(gl_video_opts, gl_video_conf)}, + {"", OPT_SUBSTRUCT(gl_next_opts, gl_next_conf)}, {"", OPT_SUBSTRUCT(spirv_opts, spirv_conf)}, #if HAVE_GL diff --git a/options/options.h b/options/options.h index e05b723a01..9dce3f609c 100644 --- a/options/options.h +++ b/options/options.h @@ -366,6 +366,7 @@ typedef struct MPOpts { struct ra_ctx_opts *ra_ctx_opts; struct gl_video_opts *gl_video_opts; + struct gl_next_opts *gl_next_opts; struct angle_opts *angle_opts; struct opengl_opts *opengl_opts; struct vulkan_opts *vulkan_opts; |