diff options
author | wm4 <wm4@nowhere> | 2015-01-08 13:34:44 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-08 13:36:09 +0100 |
commit | 41f6c15df5f25651cfb9b799cedd949f617b3a80 (patch) | |
tree | 51039a509fff1f40af808046be8bd7395e037462 /video/out | |
parent | 54d14b4480567c21f713c855d1377a2fb6a72207 (diff) | |
download | mpv-41f6c15df5f25651cfb9b799cedd949f617b3a80.tar.bz2 mpv-41f6c15df5f25651cfb9b799cedd949f617b3a80.tar.xz |
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.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo_opengl_cb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c index a5716627ca..49564a442c 100644 --- a/video/out/vo_opengl_cb.c +++ b/video/out/vo_opengl_cb.c @@ -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} }; |