summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-30 23:56:17 +0200
committerwm4 <wm4@nowhere>2015-03-31 00:09:03 +0200
commit8f0f73e5917fd30dbd359ad24b037b66e05fa11a (patch)
tree2afe3bf90dbf6e4887debb05ec050b737c469a1b /video/out/vo_opengl.c
parent27715b7dd18c4a393b8483b8048cb957172e776b (diff)
downloadmpv-8f0f73e5917fd30dbd359ad24b037b66e05fa11a.tar.bz2
mpv-8f0f73e5917fd30dbd359ad24b037b66e05fa11a.tar.xz
video/out: remove unused colorspace reporting
Rarely used and essentially useless. The only VO for which this was implemented correctly and for which this did anything was vo_xv, but you shouldn't use vo_xv anyway (plus it support BT.601 only, plus a vendor specific extension for BT.709, whose presence this function essentially reported - use xvinfo instead).
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 9cf58286e2..589ae7b0db 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -366,11 +366,6 @@ static int control(struct vo *vo, uint32_t request, void *data)
vo->want_redraw = true;
return r ? VO_TRUE : VO_NOTIMPL;
}
- case VOCTRL_GET_COLORSPACE:
- mpgl_lock(p->glctx);
- gl_video_get_colorspace(p->renderer, data);
- mpgl_unlock(p->glctx);
- return VO_TRUE;
case VOCTRL_SCREENSHOT_WIN:
mpgl_lock(p->glctx);
*(struct mp_image **)data = glGetWindowScreenshot(p->gl);