diff options
author | wm4 <wm4@nowhere> | 2015-09-29 21:12:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-29 21:12:26 +0200 |
commit | ee63c9c210683df9cbf17f7bbc5f4de8725260f3 (patch) | |
tree | 4079022e388fb4ff4bf0dfefe03f0f4d3cffbe0c /video/out | |
parent | b4491c00c4b514e925b6bbf501e26de801f28a39 (diff) | |
download | mpv-ee63c9c210683df9cbf17f7bbc5f4de8725260f3.tar.bz2 mpv-ee63c9c210683df9cbf17f7bbc5f4de8725260f3.tar.xz |
video: replace vf_format outputlevels option with global option
The vf_format suboption is replaced with --video-output-levels (a global
option and property). In particular, the parameter is removed from
mp_image_params. The mechanism is moved to the "video equalizer", which
also handles common video output customization like brightness and
contrast controls.
The new code is slightly cleaner, and the top-level option is slightly
more user-friendly than as vf_format sub-option.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo_vdpau.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index 20457b602e..5eaa23cc77 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -948,10 +948,6 @@ static struct mp_image *read_output_surface(struct vo *vo, if (!image) return NULL; - image->params.colorspace = MP_CSP_RGB; - // hardcoded with conv. matrix - image->params.colorlevels = vo->params->outputlevels; - void *dst_planes[] = { image->planes[0] }; uint32_t dst_pitches[] = { image->stride[0] }; vdp_st = vdp->output_surface_get_bits_native(surface, NULL, dst_planes, |