summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.m
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-23 16:54:53 +0100
committerwm4 <wm4@nowhere>2015-11-23 16:54:53 +0100
commit2e401201adf562ae9824fc79e6834ca648b0b114 (patch)
treeebd81568f8d43d4375c6cb6bcf517e0d4faf7705 /video/out/cocoa_common.m
parentb2e8d5749be8825b011458d132873ff2be5b68ae (diff)
downloadmpv-2e401201adf562ae9824fc79e6834ca648b0b114.tar.bz2
mpv-2e401201adf562ae9824fc79e6834ca648b0b114.tar.xz
vo: remove VOCTRL_GET_RECENT_FLIP_TIME
It doesn't have any real purpose anymore. Up until now, it was still implemented by vo_wayland, but since we changed how the frame callbacks work, even that appears to be pointless. Originally, the plan was to somehow extend this mechanism to all backends and to magically fix frame scheduling, but since we can't hope for proper mechanisms even on wayland, this idea looks way less interesting.
Diffstat (limited to 'video/out/cocoa_common.m')
-rw-r--r--video/out/cocoa_common.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index 022520665a..c316a09a04 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -796,8 +796,6 @@ static int vo_cocoa_control_async(struct vo *vo, int *events, int request, void
case VOCTRL_CHECK_EVENTS:
*events |= vo_cocoa_check_events(vo);
return VO_TRUE;
- case VOCTRL_GET_RECENT_FLIP_TIME:
- return VO_FALSE; // unsupported, but avoid syncing with main thread
}
return VO_NOTIMPL;
}