aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpv
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-08-03 20:25:03 +0200
committerGravatar wm4 <wm4@nowhere>2014-08-03 20:31:00 +0200
commit0f5aed9c62cb29a53dc1039df786207a2bd80d85 (patch)
tree1f307ee9f2b62d47b12ee9fb8cc487d9f41cd005 /libmpv
parent0ddbf92d067e342ef58fbd60e1c4871feba83ea5 (diff)
player: some further playloop cleanups
Handle --term-playing-msg at a better place. Move MPV_EVENT_TICK hack into a separate function. Also add some words to the client API that you shouldn't use it. (But better leave breaking it for later.) Handle --frames and frame_step differently. Remove the mess from the playloop, and do it after frame display. Give up on the weird semantics for audio-only mode (they didn't make sense anyway), and adjust the manpage accordingly.
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 69bc77c0ac..687611c5e7 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -919,8 +919,10 @@ typedef enum mpv_event_id {
*/
MPV_EVENT_UNPAUSE = 13,
/**
- * Sent every time after a video frame is displayed (or in lower frequency
- * if there is no video, or playback is paused).
+ * Sent every time after a video frame is displayed. Note that currently,
+ * this will be sent in lower frequency if there is no video, or playback
+ * is paused - but that will be removed in the future, and it will be
+ * restricted to video frames only.
*/
MPV_EVENT_TICK = 14,
/**