1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 13:14:36 +00:00

msg: don't prefix slave-mode stuff by default

This commit is contained in:
wm4 2013-12-21 22:11:43 +01:00
parent 8e75cc3339
commit 678ce04b3f

View File

@ -166,7 +166,7 @@ void mp_msg_va(struct mp_log *log, int lev, const char *format, va_list va)
set_msg_color(stream, lev);
if (header) {
if (lev >= MSGL_V || verbose || mp_msg_module) {
if ((lev >= MSGL_V && lev != MSGL_SMODE) || verbose || mp_msg_module) {
fprintf(stream, "[%s] ", log->verbose_prefix);
} else if (log->prefix) {
fprintf(stream, "[%s] ", log->prefix);