summaryrefslogtreecommitdiffstats
path: root/DOCS
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 /DOCS
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 'DOCS')
-rw-r--r--DOCS/client-api-changes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/client-api-changes.rst b/DOCS/client-api-changes.rst
index 32244a6e37..cb80d0a698 100644
--- a/DOCS/client-api-changes.rst
+++ b/DOCS/client-api-changes.rst
@@ -34,6 +34,10 @@ API changes
--- mpv 0.29.0 ---
1.101 - add MPV_RENDER_PARAM_ADVANCED_CONTROL and related API
+ - add MPV_RENDER_PARAM_NEXT_FRAME_INFO and related symbols
+ - add MPV_RENDER_PARAM_BLOCK_FOR_TARGET_TIME
+ - add MPV_RENDER_PARAM_SKIP_RENDERING
+ - add mpv_render_context_get_info()
1.100 - bump API number to avoid confusion with mpv release versions
- actually apply the GL_MP_MPGetNativeDisplay change for the new render
API. This also means compatibility for anything but x11 and wayland