diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2016-01-18 07:27:03 +0100 |
---|---|---|
committer | Martin Herkt <lachs0r@srsfckn.biz> | 2016-01-18 07:27:03 +0100 |
commit | ba9b2f1e49732d597009ba514b0132a50562cd10 (patch) | |
tree | fa05f5feb181823ac9d3b5682a835ff825de6914 /player/main.c | |
parent | e1993d5ad2bdf3dd4c26474aaa2370cbc9c1cd1b (diff) | |
parent | 7b4ccb3e9f58a0745b58e473ee6e60b381242813 (diff) | |
download | mpv-ba9b2f1e49732d597009ba514b0132a50562cd10.tar.bz2 mpv-ba9b2f1e49732d597009ba514b0132a50562cd10.tar.xz |
Merge branch 'master' into release/current
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/player/main.c b/player/main.c index ce438636c3..046d41c6b2 100644 --- a/player/main.c +++ b/player/main.c @@ -25,7 +25,7 @@ #include <signal.h> #include "config.h" -#include "talloc.h" +#include "mpv_talloc.h" #include "misc/dispatch.h" #include "osdep/io.h" @@ -156,7 +156,7 @@ void mp_print_version(struct mp_log *log, int always) { int v = always ? MSGL_INFO : MSGL_V; mp_msg(log, v, - "%s (C) 2000-2015 mpv/MPlayer/mplayer2 projects\n built on %s\n", + "%s (C) 2000-2016 mpv/MPlayer/mplayer2 projects\n built on %s\n", mpv_version, mpv_builddate); print_libav_versions(log, v); mp_msg(log, v, "\n"); @@ -222,7 +222,6 @@ void mp_destroy(struct MPContext *mpctx) pthread_detach(pthread_self()); mp_msg_uninit(mpctx->global); - pthread_mutex_destroy(&mpctx->ass_lock); talloc_free(mpctx); } @@ -330,8 +329,6 @@ struct MPContext *mp_create(void) .playback_abort = mp_cancel_new(mpctx), }; - pthread_mutex_init(&mpctx->ass_lock, NULL); - mpctx->global = talloc_zero(mpctx, struct mpv_global); // Nothing must call mp_msg*() and related before this |