summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.m
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/cocoa_common.m
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/cocoa_common.m')
-rw-r--r--video/out/cocoa_common.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index 47f686dbd4..e89504c472 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -419,7 +419,7 @@ static void cocoa_add_fs_screen_profile_observer(struct vo *vo)
return;
void (^nblock)(NSNotification *n) = ^(NSNotification *n) {
- s->pending_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED;
+ s->pending_events |= VO_EVENT_ICC_PROFILE_CHANGED;
};
s->fs_icc_changed_ns_observer = [[NSNotificationCenter defaultCenter]
@@ -586,7 +586,7 @@ static void vo_cocoa_fullscreen(struct vo *vo)
draw_changes_after_next_frame(vo);
[(MpvEventsView *)s->view setFullScreen:opts->fullscreen];
- s->pending_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED;
+ s->pending_events |= VO_EVENT_ICC_PROFILE_CHANGED;
s->pending_events |= VO_EVENT_RESIZE;
}
@@ -736,6 +736,6 @@ int vo_cocoa_control(struct vo *vo, int *events, int request, void *arg)
- (void)didChangeWindowedScreenProfile:(NSScreen *)screen
{
struct vo_cocoa_state *s = self.vout->cocoa;
- s->pending_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED;
+ s->pending_events |= VO_EVENT_ICC_PROFILE_CHANGED;
}
@end