From 0f5aed9c62cb29a53dc1039df786207a2bd80d85 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 3 Aug 2014 20:25:03 +0200 Subject: 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. --- libmpv/client.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libmpv/client.h') 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, /** -- cgit v1.2.3