summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-29 22:17:50 +0100
committerwm4 <wm4@nowhere>2013-12-29 22:17:50 +0100
commit1284a6b6b0990153e1e522c531f3194857b1ac21 (patch)
tree105e55e3f58c08d3453195791a9a3d63ae8b990e /video
parent78c35e42ea6b812ff5e023bdf253f367466efb8b (diff)
downloadmpv-1284a6b6b0990153e1e522c531f3194857b1ac21.tar.bz2
mpv-1284a6b6b0990153e1e522c531f3194857b1ac21.tar.xz
video: fix --brightness etc. options
They were set before the VO was intitialized, which silently failed.
Diffstat (limited to 'video')
-rw-r--r--video/decode/dec_video.c11
1 files changed, 0 insertions, 11 deletions
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;
}