From 432581b60485433d5497d461730960fa3a2af402 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sun, 18 Apr 2021 11:48:35 +0200 Subject: vo_gpu: lift ra_ctx_* opts to a global struct So I can re-use them for vo_gpu_next. --- options/options.c | 2 ++ options/options.h | 1 + 2 files changed, 3 insertions(+) (limited to 'options') 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; -- cgit v1.2.3