summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-26 02:21:00 +0100
committerwm4 <wm4@nowhere>2015-01-26 02:21:00 +0100
commitf47b14b717c16fc82f3f33b0bc5259f446a1aafa (patch)
tree317b28f374fdc4341a4f878f4930137daf3f379c /video/out/vo_opengl.c
parentdf3e6b549c568e4b9d7981c9e4eedba9689c2e05 (diff)
downloadmpv-f47b14b717c16fc82f3f33b0bc5259f446a1aafa.tar.bz2
mpv-f47b14b717c16fc82f3f33b0bc5259f446a1aafa.tar.xz
video/out: cosmetics: rename VO_EVENT_ICC_PROFILE_PATH_CHANGED
Remove the "PATH" bit, because VOCTRL_GET_ICC_PROFILE returns an in- memory profile, and not a path. (This was changed a while ago.)
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 329a022ab0..910ebb8ca3 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -378,7 +378,7 @@ static int control(struct vo *vo, uint32_t request, void *data)
mpgl_lock(p->glctx);
int events = 0;
int r = p->glctx->vo_control(vo, &events, request, data);
- if (events & VO_EVENT_ICC_PROFILE_PATH_CHANGED) {
+ if (events & VO_EVENT_ICC_PROFILE_CHANGED) {
get_and_update_icc_profile(p, &events);
vo->want_redraw = true;
}