From 8dc7156bc0271965ea1e6768cfc7bbe67cef1876 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 9 Apr 2015 19:30:26 +0200 Subject: vo_opengl_cb: add a function to report vsync time And also let vo.c know of it. Currently, this does not help much, but will facilitate future improvements. --- player/client.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'player') diff --git a/player/client.c b/player/client.c index 3593b1d99f..ef1aa4f52e 100644 --- a/player/client.c +++ b/player/client.c @@ -1709,6 +1709,10 @@ int mpv_opengl_cb_render(mpv_opengl_cb_context *ctx, int fbo, int vp[4]) { return MPV_ERROR_NOT_IMPLEMENTED; } +int mpv_opengl_cb_report_flip(mpv_opengl_cb_context *ctx, int64_t time) +{ + return MPV_ERROR_NOT_IMPLEMENTED; +} int mpv_opengl_cb_uninit_gl(mpv_opengl_cb_context *ctx) { return MPV_ERROR_NOT_IMPLEMENTED; -- cgit v1.2.3