From 5bb3b1b4cf758d1af42bc1b8fc8588b52bbb6770 Mon Sep 17 00:00:00 2001 From: xylosper Date: Fri, 9 Jan 2015 04:16:49 +0900 Subject: vo: add functions to increment drop_count Add two functions which increment drop_count thread-safely. This is for the commit followed. --- video/out/vo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/vo.h') diff --git a/video/out/vo.h b/video/out/vo.h index ab7d97ae49..20223493cd 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -319,6 +319,7 @@ void vo_seek_reset(struct vo *vo); void vo_destroy(struct vo *vo); void vo_set_paused(struct vo *vo, bool paused); int64_t vo_get_drop_count(struct vo *vo); +void vo_increment_drop_count(struct vo *vo, int64_t n); void vo_query_formats(struct vo *vo, uint8_t *list); void vo_event(struct vo *vo, int event); int vo_query_and_reset_events(struct vo *vo, int events); -- cgit v1.2.3