diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-03-23 05:23:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-26 00:04:08 +0100 |
commit | 987197be4619a3b722e373645bf21a0e37c34903 (patch) | |
tree | a437ae8e66427ca189b3709281e38258092cff20 | |
parent | dfbe1832eee7b894a1a33de78c62209440a304e6 (diff) | |
download | mpv-987197be4619a3b722e373645bf21a0e37c34903.tar.bz2 mpv-987197be4619a3b722e373645bf21a0e37c34903.tar.xz |
vo_opengl: reset surfaces on equalizer updates
This makes the VO more responsive to equalizer changes (eg. brightness)
when interpolation is used.
-rw-r--r-- | video/out/gl_video.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |