diff options
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 9c29d5f2cc..a5280e5611 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -269,9 +269,8 @@ struct vo_driver { void (*flip_page)(struct vo *vo); /* These optional callbacks can be provided if the GUI framework used by - * the VO requires entering a message loop for receiving events, does not - * provide event_fd, and does not call vo_wakeup() from a separate thread - * when there are new events. + * the VO requires entering a message loop for receiving events and does + * not call vo_wakeup() from a separate thread when there are new events. * * wait_events() will wait for new events, until the timeout expires, or the * function is interrupted. wakeup() is used to possibly interrupt the @@ -282,7 +281,7 @@ struct vo_driver { * immediately. */ void (*wakeup)(struct vo *vo); - int (*wait_events)(struct vo *vo, int64_t until_time_us); + void (*wait_events)(struct vo *vo, int64_t until_time_us); /* * Closes driver. Should restore the original state of the system. @@ -319,7 +318,6 @@ struct vo { // --- The following fields are generally only changed during initialization. - int event_fd; // check_events() should be called when this has input bool probing; // --- The following fields are only changed with vo_reconfig(), and can @@ -368,8 +366,10 @@ double vo_get_estimated_vsync_interval(struct vo *vo); double vo_get_estimated_vsync_jitter(struct vo *vo); double vo_get_display_fps(struct vo *vo); double vo_get_delay(struct vo *vo); +void vo_discard_timing_info(struct vo *vo); void vo_wakeup(struct vo *vo); +void vo_wait_default(struct vo *vo, int64_t until_time); struct mp_keymap { int from; |