diff options
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h index 71c39dcaa5..0840a7836d 100644 --- a/player/core.h +++ b/player/core.h @@ -243,6 +243,8 @@ typedef struct MPContext { // mp_dispatch_lock must be called to change it. int64_t outstanding_async; + struct mp_thread_pool *thread_pool; // for coarse I/O, often during loading + struct mp_log *statusline; struct osd_state *osd; char *term_osd_text; @@ -551,6 +553,8 @@ void mp_wait_events(struct MPContext *mpctx); void mp_set_timeout(struct MPContext *mpctx, double sleeptime); void mp_wakeup_core(struct MPContext *mpctx); void mp_wakeup_core_cb(void *ctx); +void mp_core_lock(struct MPContext *mpctx); +void mp_core_unlock(struct MPContext *mpctx); void mp_process_input(struct MPContext *mpctx); double get_relative_time(struct MPContext *mpctx); void reset_playback_state(struct MPContext *mpctx); |