mirror of https://github.com/mpv-player/mpv
terminal: fix printing of prefix
This was subtly change in 5cfb18. Revert the change.
This commit is contained in:
parent
8a74638dc7
commit
ac1a21e488
|
@ -273,10 +273,11 @@ static void print_msg_on_terminal(struct mp_log *log, int lev, char *text)
|
||||||
fprintf(stream, "[%" PRId64 "] ", mp_time_us());
|
fprintf(stream, "[%" PRId64 "] ", mp_time_us());
|
||||||
|
|
||||||
if (prefix) {
|
if (prefix) {
|
||||||
if (root->module)
|
if (root->module) {
|
||||||
pretty_print_module(stream, prefix, root->color, lev);
|
pretty_print_module(stream, prefix, root->color, lev);
|
||||||
else if (root->verbose)
|
} else {
|
||||||
fprintf(stream, "[%s] ", prefix);
|
fprintf(stream, "[%s] ", prefix);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue