From 41f6c15df5f25651cfb9b799cedd949f617b3a80 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 8 Jan 2015 13:34:44 +0100 Subject: [PATCH] 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. --- video/out/vo_opengl_cb.c | 1 + 1 file changed, 1 insertion(+) 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} };