From 348dfd93c4178633d3995a955045fafb7e9209d3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 6 Sep 2014 16:57:46 +0200 Subject: player: minor refactoring Expose the central event handling functions explicitly, so that other parts of the player can use them. No functional changes. Preparation for the next commit. --- player/core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index 341ea84c47..bd2a15d7d0 100644 --- a/player/core.h +++ b/player/core.h @@ -434,6 +434,8 @@ void set_osd_function(struct MPContext *mpctx, int osd_function); void set_osd_subtitle(struct MPContext *mpctx, const char *text); // playloop.c +void mp_wait_events(struct MPContext *mpctx, double sleeptime); +void mp_process_input(struct MPContext *mpctx); void reset_playback_state(struct MPContext *mpctx); void pause_player(struct MPContext *mpctx); void unpause_player(struct MPContext *mpctx); -- cgit v1.2.3