From 8f0f73e5917fd30dbd359ad24b037b66e05fa11a Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 30 Mar 2015 23:56:17 +0200 Subject: 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). --- video/out/vo_direct3d.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'video/out/vo_direct3d.c') diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index 8f9b10260d..ac72efe2f8 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -1263,15 +1263,6 @@ static int control(struct vo *vo, uint32_t request, void *data) case VOCTRL_REDRAW_FRAME: d3d_draw_frame(priv); return VO_TRUE; - case VOCTRL_GET_COLORSPACE: { - struct mp_image_params *p = data; - if (priv->use_shaders) { // no idea what the heck D3D YUV uses - p->colorspace = priv->params.colorspace; - p->colorlevels = priv->params.colorlevels; - p->outputlevels = priv->params.outputlevels; - } - return VO_TRUE; - } case VOCTRL_SET_EQUALIZER: { if (!priv->use_shaders) break; -- cgit v1.2.3