summaryrefslogtreecommitdiffstats
path: root/video/out/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_xv.c')
-rw-r--r--video/out/vo_xv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c
index 22090d11c8..3fb9d2ebaf 100644
--- a/video/out/vo_xv.c
+++ b/video/out/vo_xv.c
@@ -821,12 +821,6 @@ static int control(struct vo *vo, uint32_t request, void *data)
struct voctrl_get_equalizer_args *args = data;
return xv_get_eq(vo, ctx->xv_port, args->name, args->valueptr);
}
- case VOCTRL_GET_COLORSPACE: {
- struct mp_image_params *params = data;
- read_xv_csp(vo);
- params->colorspace = ctx->cached_csp;
- return true;
- }
case VOCTRL_REDRAW_FRAME:
draw_image(vo, ctx->original_image);
return true;