mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 14:52:43 +00:00
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:
parent
dfbe1832ee
commit
987197be46
@ -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.
|
// Call when the mp_csp_equalizer returned by gl_video_eq_ptr() was changed.
|
||||||
void gl_video_eq_update(struct gl_video *p)
|
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,
|
static int validate_scaler_opt(struct mp_log *log, const m_option_t *opt,
|
||||||
|
Loading…
Reference in New Issue
Block a user