diff options
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h index 556903b50d..d39ac64dab 100644 --- a/player/core.h +++ b/player/core.h @@ -140,12 +140,16 @@ enum { #define NUM_PTRACKS 2 typedef struct MPContext { + bool initialized; struct mpv_global *global; struct MPOpts *opts; struct mp_log *log; - struct mp_log *statusline; struct m_config *mconfig; struct input_ctx *input; + struct mp_client_api *clients; + struct mp_dispatch_queue *dispatch; + + struct mp_log *statusline; struct osd_state *osd; struct mp_osd_msg *osd_msg_stack; char *term_osd_text; @@ -385,6 +389,9 @@ void mp_set_playlist_entry(struct MPContext *mpctx, struct playlist_entry *e); void mp_play_files(struct MPContext *mpctx); // main.c +int mp_initialize(struct MPContext *mpctx); +struct MPContext *mp_create(void); +void mp_destroy(struct MPContext *mpctx); void mp_print_version(struct mp_log *log, int always); // misc.c |