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_vaapi.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'video/out/vo_vaapi.c') diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c index 6422148a0f..25dc4e9584 100644 --- a/video/out/vo_vaapi.c +++ b/video/out/vo_vaapi.c @@ -540,12 +540,6 @@ static int control(struct vo *vo, uint32_t request, void *data) *arg = &p->hwdec_info; return true; } - case VOCTRL_GET_COLORSPACE: { - struct mp_image_params *params = data; - if (va_get_colorspace_flag(p->image_params.colorspace)) - params->colorspace = p->image_params.colorspace; - return true; - } case VOCTRL_SET_EQUALIZER: { struct voctrl_set_equalizer_args *eq = data; return set_equalizer(p, eq->name, eq->value); -- cgit v1.2.3