diff options
-rw-r--r-- | video/out/gl_video.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 9674ac58ee..292e9030a3 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -1842,7 +1842,10 @@ void gl_video_render_frame(struct gl_video *p, int fbo, struct frame_timing *t) GL *gl = p->gl; struct video_image *vimg = &p->image; - p->user_gamma = 1.0 / p->opts.gamma; + struct mp_csp_params params; + mp_csp_copy_equalizer_values(¶ms, &p->video_eq); + + p->user_gamma = 1.0 / (p->opts.gamma * params.gamma); gl->BindFramebuffer(GL_FRAMEBUFFER, fbo); |