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/sws_utils.c | 1 - 1 file changed, 1 deletion(-) (limited to 'video/sws_utils.c') diff --git a/video/sws_utils.c b/video/sws_utils.c index bf5ad8f1a4..00b00513bc 100644 --- a/video/sws_utils.c +++ b/video/sws_utils.c @@ -161,7 +161,6 @@ int mp_sws_reinit(struct mp_sws_context *ctx) // Neutralize unsupported or ignored parameters. src->d_w = dst->d_w = 0; src->d_h = dst->d_h = 0; - src->outputlevels = dst->outputlevels = MP_CSP_LEVELS_AUTO; if (cache_valid(ctx)) return 0; -- cgit v1.2.3