From ee63c9c210683df9cbf17f7bbc5f4de8725260f3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 29 Sep 2015 21:12:26 +0200 Subject: 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. --- video/mp_image.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'video/mp_image.h') diff --git a/video/mp_image.h b/video/mp_image.h index 25eb42c050..f71f7b3652 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -46,10 +46,6 @@ struct mp_image_params { enum mp_csp_prim primaries; enum mp_csp_trc gamma; enum mp_chroma_location chroma_location; - // The image should be converted to these levels. Unlike colorlevels, it - // does not describe the current state of the image. (Somewhat similar to - // d_w/d_h vs. w/h.) - enum mp_csp_levels outputlevels; // The image should be rotated clockwise (0-359 degrees). int rotate; enum mp_stereo3d_mode stereo_in; // image is encoded with this mode -- cgit v1.2.3