summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-19 19:57:31 +0200
committerwm4 <wm4@nowhere>2016-09-19 19:57:31 +0200
commit44a7cb7f0ed9c46bb83ce4aa23de257c4ba1b862 (patch)
tree9b77b4b23e3bf93415e44c9d36186da3e156a3b2 /player/core.h
parentce65ea3345b657b624f28587bd7f31466ac145a2 (diff)
downloadmpv-44a7cb7f0ed9c46bb83ce4aa23de257c4ba1b862.tar.bz2
mpv-44a7cb7f0ed9c46bb83ce4aa23de257c4ba1b862.tar.xz
player: minor changes in init code
Move the MPV_LEAK_REPORT env query to mp_create(), where it will also be used by the client API (it might be helpful, so why not). The same applies to MPV_VERBOSE. The prepare_playlist() call doesn't need to be in mp_initialize() and can just be in mp_play_files() to reduce the size of mp_initialize(). Also, remove wakeup_playloop(), which is 100% redundant with mp_wakeup_core_cb().
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index c36972e807..df2df834fa 100644
--- a/player/core.h
+++ b/player/core.h
@@ -486,7 +486,6 @@ int mp_initialize(struct MPContext *mpctx, char **argv);
struct MPContext *mp_create(void);
void mp_destroy(struct MPContext *mpctx);
void mp_print_version(struct mp_log *log, int always);
-void wakeup_playloop(void *ctx);
void mp_update_logging(struct MPContext *mpctx);
// misc.c