diff options
author | wm4 <wm4@nowhere> | 2015-04-09 19:30:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-09 19:30:26 +0200 |
commit | 8dc7156bc0271965ea1e6768cfc7bbe67cef1876 (patch) | |
tree | 3573cd6130ff7b71bf0c4d7f66e4f9ae53200b75 /player/client.c | |
parent | 4e8ee522f4df73a74befc093640fdf60a43053ec (diff) | |
download | mpv-8dc7156bc0271965ea1e6768cfc7bbe67cef1876.tar.bz2 mpv-8dc7156bc0271965ea1e6768cfc7bbe67cef1876.tar.xz |
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.
Diffstat (limited to 'player/client.c')
-rw-r--r-- | player/client.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |