Skip to content

Commit

Permalink
vo_opengl: reset surfaces on equalizer updates
Browse files Browse the repository at this point in the history
This makes the VO more responsive to equalizer changes (eg. brightness)
when interpolation is used.
  • Loading branch information
haasn committed Mar 23, 2015
1 parent 0776024 commit ea9d434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions video/out/gl_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -2510,6 +2510,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,
Expand Down

0 comments on commit ea9d434

Please sign in to comment.