diff options
author | wm4 <wm4@nowhere> | 2015-03-30 23:56:17 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-31 00:09:03 +0200 |
commit | 8f0f73e5917fd30dbd359ad24b037b66e05fa11a (patch) | |
tree | 2afe3bf90dbf6e4887debb05ec050b737c469a1b /video/out/vo_vdpau.c | |
parent | 27715b7dd18c4a393b8483b8048cb957172e776b (diff) | |
download | mpv-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_vdpau.c')
-rw-r--r-- | video/out/vo_vdpau.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index 3f5776ad36..c0deea8178 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -1014,15 +1014,6 @@ static int control(struct vo *vo, uint32_t request, void *data) struct voctrl_get_equalizer_args *args = data; return get_equalizer(vo, args->name, args->valueptr); } - case VOCTRL_GET_COLORSPACE: { - struct mp_image_params *params = data; - if (vo->params && !vc->rgb_mode) { - params->colorspace = vo->params->colorspace; - params->colorlevels = vo->params->colorlevels; - params->outputlevels = vo->params->outputlevels; - } - return true; - } case VOCTRL_REDRAW_FRAME: if (status_ok(vo)) video_to_output_surface(vo); |