summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-08 16:54:15 +0100
committerwm4 <wm4@nowhere>2015-01-08 16:54:15 +0100
commit88c6f18209474d05a29a0c13f5473e6aa02455f4 (patch)
treed190ec855603cd91f75467e20207a7079fbdc976
parent41f6c15df5f25651cfb9b799cedd949f617b3a80 (diff)
downloadmpv-88c6f18209474d05a29a0c13f5473e6aa02455f4.tar.bz2
mpv-88c6f18209474d05a29a0c13f5473e6aa02455f4.tar.xz
vo_opengl_cb: fix a typo
-rw-r--r--video/out/vo_opengl_cb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c
index 49564a442c..a689a1dcbe 100644
--- a/video/out/vo_opengl_cb.c
+++ b/video/out/vo_opengl_cb.c
@@ -344,7 +344,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[] = {
+ static const struct m_option change_opts[] = {
OPT_FLAG("debug", use_gl_debug, 0),
OPT_SUBSTRUCT("", renderer_opts, gl_video_conf, 0),
{0}
@@ -352,7 +352,7 @@ static bool reparse_cmdline(struct vo_priv *p, char *args)
#undef OPT_BASE_STRUCT
const struct vo_priv *vodef = p->vo->driver->priv_defaults;
- cfg = m_config_new(NULL, p->vo->log, sizeof(*opts), vodef, change_otps);
+ cfg = m_config_new(NULL, p->vo->log, sizeof(*opts), vodef, change_opts);
opts = cfg->optstruct;
r = m_config_parse_suboptions(cfg, "opengl-cb", args);