summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2021-04-18 11:48:35 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2021-11-03 14:09:27 +0100
commit432581b60485433d5497d461730960fa3a2af402 (patch)
tree2500cf6d6f2e1abd9d3e8256c1843f9beb8a39c0 /options
parent5512f53722a46dd7b4844ca8f7e47b5fed2d7259 (diff)
downloadmpv-432581b60485433d5497d461730960fa3a2af402.tar.bz2
mpv-432581b60485433d5497d461730960fa3a2af402.tar.xz
vo_gpu: lift ra_ctx_* opts to a global struct
So I can re-use them for vo_gpu_next.
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
-rw-r--r--options/options.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 2f8885e0ba..1341cb891c 100644
--- a/options/options.c
+++ b/options/options.c
@@ -73,6 +73,7 @@ extern const struct m_sub_options vd_lavc_conf;
extern const struct m_sub_options ad_lavc_conf;
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 ao_alsa_conf;
@@ -779,6 +780,7 @@ static const m_option_t mp_opts[] = {
{"", OPT_SUBSTRUCT(demux_cache_opts, demux_cache_conf)},
{"", OPT_SUBSTRUCT(stream_opts, stream_conf)},
+ {"", OPT_SUBSTRUCT(ra_ctx_opts, ra_ctx_conf)},
{"", OPT_SUBSTRUCT(gl_video_opts, gl_video_conf)},
{"", OPT_SUBSTRUCT(spirv_opts, spirv_conf)},
diff --git a/options/options.h b/options/options.h
index f3c8e318e8..53e8de7852 100644
--- a/options/options.h
+++ b/options/options.h
@@ -344,6 +344,7 @@ typedef struct MPOpts {
struct mp_resample_opts *resample_opts;
+ struct ra_ctx_opts *ra_ctx_opts;
struct gl_video_opts *gl_video_opts;
struct angle_opts *angle_opts;
struct opengl_opts *opengl_opts;