diff options
Diffstat (limited to 'video/out/vo_wayland.c')
-rw-r--r-- | video/out/vo_wayland.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c index c9f909b448..dcbe2d5347 100644 --- a/video/out/vo_wayland.c +++ b/video/out/vo_wayland.c @@ -132,8 +132,6 @@ struct priv { // this id tells us if the subtitle part has changed or not int change_id[MAX_OSD_PARTS]; - int64_t recent_flip_time; // last frame event - // options int enable_alpha; int use_rgb565; @@ -513,7 +511,6 @@ static void redraw(void *data, uint32_t time) p->x = 0; p->y = 0; - p->recent_flip_time = mp_time_us(); } static void flip_page(struct vo *vo) @@ -663,11 +660,6 @@ static int control(struct vo *vo, uint32_t request, void *data) } case VOCTRL_REDRAW_FRAME: return redraw_frame(p); - case VOCTRL_GET_RECENT_FLIP_TIME: - { - *(int64_t*) data = p->recent_flip_time; - return VO_TRUE; - } } int events = 0; int r = vo_wayland_control(vo, &events, request, data); |