This reverts commit 4939570e17d4659944924ed6012793b433109ab1 and makes it more strict about the output stream. Status message is also on the same stream now.
Showing the changes to common/msg.c (1 of 1 file). Show all
Unified · Split
| @@ -194,8 +194,7 @@ int mp_msg_level(struct mp_log *log) · 193 unmodified lines | ||
| 194 | 194 | |
| 195 | 195 | static inline int term_msg_fileno(struct mp_log_root *root, int lev) |
| 196 | 196 | { |
| 197 | − return (root->force_stderr || lev == MSGL_STATUS || lev == MSGL_FATAL || | |
| 198 | − lev == MSGL_ERR || lev == MSGL_WARN) ? STDERR_FILENO : STDOUT_FILENO; | |
| 197 | + return root->force_stderr ? STDERR_FILENO : STDOUT_FILENO; | |
| 199 | 198 | } |
| 200 | 199 | |
| 201 | 200 | // Reposition cursor and clear lines for outputting the status line. In certain |