From 987197be4619a3b722e373645bf21a0e37c34903 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 23 Mar 2015 05:23:46 +0100 Subject: vo_opengl: reset surfaces on equalizer updates This makes the VO more responsive to equalizer changes (eg. brightness) when interpolation is used. --- video/out/gl_video.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 03846b2f69..b7027f906f 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -2542,6 +2542,7 @@ struct mp_csp_equalizer *gl_video_eq_ptr(struct gl_video *p) // Call when the mp_csp_equalizer returned by gl_video_eq_ptr() was changed. void gl_video_eq_update(struct gl_video *p) { + gl_video_reset_surfaces(p); } static int validate_scaler_opt(struct mp_log *log, const m_option_t *opt, -- cgit v1.2.3