mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 13:02:24 +00:00
terminal: remove separate formatting for --msgmodule
Instead, --msgmodule uses the same formatting as -v.
This commit is contained in:
parent
4d4b822171
commit
78292058cc
@ -124,10 +124,7 @@ static void mp_msg_log_va(struct mp_log *log, int lev, const char *format,
|
||||
|
||||
set_msg_color(stream, lev);
|
||||
if (header) {
|
||||
if (mp_msg_module) {
|
||||
fprintf(stream, "%9s", log->verbose_prefix);
|
||||
fprintf(stream, ": ");
|
||||
} else if (lev >= MSGL_V || verbose) {
|
||||
if (lev >= MSGL_V || verbose || mp_msg_module) {
|
||||
fprintf(stream, "[%s] ", log->verbose_prefix);
|
||||
} else if (log->prefix) {
|
||||
fprintf(stream, "[%s] ", log->prefix);
|
||||
|
Loading…
Reference in New Issue
Block a user