summaryrefslogtreecommitdiffstats
path: root/video/out/present_sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/present_sync.h')
-rw-r--r--video/out/present_sync.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/present_sync.h b/video/out/present_sync.h
index dac574c4d7..361045548d 100644
--- a/video/out/present_sync.h
+++ b/video/out/present_sync.h
@@ -49,6 +49,9 @@ void present_sync_get_info(struct mp_present *present, struct vo_vsync_info *inf
// Called after every buffer swap to update presentation statistics.
void present_sync_swap(struct mp_present *present);
+// Zero the entire list but keep the items.
+void present_sync_clear_values(struct mp_present *present);
+
// Called anytime the backend delivers new ust/msc values.
void present_sync_update_values(struct mp_present *present, int64_t ust,
int64_t msc);