summaryrefslogtreecommitdiffstats
path: root/libmpv/mpv.def
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-04-21 00:26:58 +0200
committerJan Ekström <jeebjp@gmail.com>2018-04-29 02:21:32 +0300
commitce4d227986cf394a80fc687290bc732bbd8dbf22 (patch)
treec2f11a05e8961d613a244db5c2dfc7d67b1d0ccf /libmpv/mpv.def
parent0be3a94e0b81d553849f9520f7ee9f2b6e34c6b4 (diff)
downloadmpv-ce4d227986cf394a80fc687290bc732bbd8dbf22.tar.bz2
mpv-ce4d227986cf394a80fc687290bc732bbd8dbf22.tar.xz
client API: add some render API extensions for timing
Attempts to enable the following things: - let a render API user do "proper" audio-sync video timing itself - make it possible to not re-render repeated frames if the API user has better mechanisms available (e.g. waiting for a DisplayLink cycle instead) - allow the user to delay or skip redraws if it makes sense Basically this information will be needed by API users who want to be "clever" about optimizing timing and rendering.
Diffstat (limited to 'libmpv/mpv.def')
-rw-r--r--libmpv/mpv.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpv/mpv.def b/libmpv/mpv.def
index efbf713622..b74378c4ae 100644
--- a/libmpv/mpv.def
+++ b/libmpv/mpv.def
@@ -34,6 +34,7 @@ mpv_opengl_cb_set_update_callback
mpv_opengl_cb_uninit_gl
mpv_render_context_create
mpv_render_context_free
+mpv_render_context_get_info
mpv_render_context_render
mpv_render_context_report_swap
mpv_render_context_set_parameter