summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-06 16:57:46 +0200
committerwm4 <wm4@nowhere>2014-09-06 16:57:46 +0200
commit348dfd93c4178633d3995a955045fafb7e9209d3 (patch)
treed7d9613b0727950ed155bb43459562979076cf75 /player/core.h
parent94113e632f162d6331d0fdd559ffe9802330cd05 (diff)
downloadmpv-348dfd93c4178633d3995a955045fafb7e9209d3.tar.bz2
mpv-348dfd93c4178633d3995a955045fafb7e9209d3.tar.xz
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.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h2
1 files changed, 2 insertions, 0 deletions
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);