0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

vo_opengl_cb: allow changing debug option at runtime

This was always supposed to work.

Just add the option declaration. Normally I'm not a fan of duplicating
such things, but in this case it's (still) harmless.
This commit is contained in:
wm4 2015-01-08 13:34:44 +01:00
parent 54d14b4480
commit 41f6c15df5

View File

@ -345,6 +345,7 @@ static bool reparse_cmdline(struct vo_priv *p, char *args)
// list of options which can be changed at runtime
#define OPT_BASE_STRUCT struct vo_priv
static const struct m_option change_otps[] = {
OPT_FLAG("debug", use_gl_debug, 0),
OPT_SUBSTRUCT("", renderer_opts, gl_video_conf, 0),
{0}
};