summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 8e117a48b6..485fbdf8fa 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -340,9 +340,9 @@ static int control(struct vo *vo, uint32_t request, void *data)
vo->want_redraw = true;
return r ? VO_TRUE : VO_NOTIMPL;
}
- case VOCTRL_GET_YUV_COLORSPACE:
+ case VOCTRL_GET_COLORSPACE:
mpgl_lock(p->glctx);
- gl_video_get_csp_override(p->renderer, data);
+ gl_video_get_colorspace(p->renderer, data);
mpgl_unlock(p->glctx);
return VO_TRUE;
case VOCTRL_SCREENSHOT: {