mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 06:46:55 +00:00
vo_opengl: fix --icc-profile initial behavior
Setting --icc-profile had no effect, until a vo_opengl option was changed at runtime. We must initialize the renderer for the initial option state too. For some reason, the ICC profile gets loaded twice. The next commit happens to fix this.
This commit is contained in:
parent
c36aaeeb2a
commit
e5cefa346d
@ -3425,6 +3425,7 @@ struct gl_video *gl_video_init(GL *gl, struct mp_log *log, struct mpv_global *g)
|
||||
p->scaler[n] = (struct scaler){.index = n};
|
||||
gl_video_set_debug(p, true);
|
||||
init_gl(p);
|
||||
reinit_from_options(p);
|
||||
return p;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user