From 56ce2a39be53be9b06ba815c56d768d0e45f3ac3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 29 Dec 2013 22:17:50 +0100 Subject: video: fix --brightness etc. options They were set before the VO was intitialized, which silently failed. --- video/decode/dec_video.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'video') diff --git a/video/decode/dec_video.c b/video/decode/dec_video.c index 09bbd243c9..433230c058 100644 --- a/video/decode/dec_video.c +++ b/video/decode/dec_video.c @@ -436,17 +436,6 @@ int video_reconfig_filters(struct dec_video *d_video, d_video->vf_input = p; - if (opts->gamma_gamma != 1000) - video_set_colors(d_video, "gamma", opts->gamma_gamma); - if (opts->gamma_brightness != 1000) - video_set_colors(d_video, "brightness", opts->gamma_brightness); - if (opts->gamma_contrast != 1000) - video_set_colors(d_video, "contrast", opts->gamma_contrast); - if (opts->gamma_saturation != 1000) - video_set_colors(d_video, "saturation", opts->gamma_saturation); - if (opts->gamma_hue != 1000) - video_set_colors(d_video, "hue", opts->gamma_hue); - return 0; } -- cgit v1.2.3