diff options
author | wm4 <wm4@nowhere> | 2016-11-25 21:00:39 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-25 21:17:25 +0100 |
commit | 1a2319f3e4cc42c680e2fd3ba30022c7a9adf3fe (patch) | |
tree | 37261ccac2acc614777ba4c790cfed78b96fb58f /video/out/vo_opengl_cb.c | |
parent | 98a257b3a871587a97f51ef1b09800959a94ed1e (diff) | |
download | mpv-1a2319f3e4cc42c680e2fd3ba30022c7a9adf3fe.tar.bz2 mpv-1a2319f3e4cc42c680e2fd3ba30022c7a9adf3fe.tar.xz |
options: remove deprecated sub-option handling for --vo and --ao
Long planned. Leads to some sanity.
There still are some rather gross things. Especially g_groups is ugly,
and a hack that can hopefully be removed. (There is a plan for it, but
whether it's implemented depends on how much energy is left.)
Diffstat (limited to 'video/out/vo_opengl_cb.c')
-rw-r--r-- | video/out/vo_opengl_cb.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c index c66f6d434c..85e06ff598 100644 --- a/video/out/vo_opengl_cb.c +++ b/video/out/vo_opengl_cb.c @@ -144,7 +144,7 @@ static void copy_vo_opts(struct vo *vo) // copy the struct with an assignment. // Just remove all the dynamic data to avoid confusion. struct mp_vo_opts opts = *vo->opts; - opts.video_driver_list = opts.vo_defs = NULL; + opts.video_driver_list = NULL; opts.winname = NULL; opts.sws_opts = NULL; p->ctx->vo_opts = opts; @@ -529,13 +529,6 @@ static int preinit(struct vo *vo) return 0; } -#define OPT_BASE_STRUCT struct vo_priv -static const struct m_option options[] = { - OPT_SUBOPT_LEGACY("debug", "opengl-debug"), - OPT_SUBSTRUCT_LEGACY("", gl_video_conf_legacy), - {0}, -}; - const struct vo_driver video_out_opengl_cb = { .description = "OpenGL Callbacks for libmpv", .name = "opengl-cb", @@ -548,5 +541,4 @@ const struct vo_driver video_out_opengl_cb = { .flip_page = flip_page, .uninit = uninit, .priv_size = sizeof(struct vo_priv), - .options = options, }; |