vo_opengl: reset surfaces on equalizer updates

This makes the VO more responsive to equalizer changes (eg. brightness)
when interpolation is used.
This commit is contained in:
Niklas Haas 2015-03-23 05:23:46 +01:00 committed by wm4
parent dfbe1832ee
commit 987197be46
1 changed files with 1 additions and 0 deletions

View File

@ -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,