summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 22:00:26 +0100
committerwm4 <wm4@nowhere>2013-12-21 22:13:05 +0100
commit8e75cc3339801cec242f0bdce0d4e0dd261f1876 (patch)
tree71b9acf02e59d1f6cd5581d2761abaa23184c010 /player/main.c
parent6aaea76b4d62990419a53c715640dab1836bba7f (diff)
downloadmpv-8e75cc3339801cec242f0bdce0d4e0dd261f1876.tar.bz2
mpv-8e75cc3339801cec242f0bdce0d4e0dd261f1876.tar.xz
player: use separate msg prefix for statusline
So the user can specifically mute or unmute the status line with --msglevel. Accidentally removed with commit 5e0c4ec3.
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index c778507d1c..1844746650 100644
--- a/player/main.c
+++ b/player/main.c
@@ -298,6 +298,7 @@ static int mpv_main(int argc, char *argv[])
// Nothing must call mp_msg*() and related before this
mp_msg_init(mpctx->global);
mpctx->log = mp_log_new(mpctx, mpctx->global->log, "!cplayer");
+ mpctx->statusline = mp_log_new(mpctx, mpctx->log, "!statusline");
// Create the config context and register the options
mpctx->mconfig = m_config_new(mpctx, mpctx->log, sizeof(struct MPOpts),