options: unbreak -v

Sigh... broken with the --really-quiet commit. I hate -v.
This commit is contained in:
wm4 2017-06-23 21:04:41 +02:00
parent 0729bee415
commit 0744fc1c94
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ static void update_loglevel(struct mp_log *log)
{
struct mp_log_root *root = log->root;
pthread_mutex_lock(&mp_msg_lock);
log->level = MSGL_STATUS; // default log level
log->level = MSGL_STATUS + root->verbose; // default log level
if (root->really_quiet)
log->level -= 10;
for (int n = 0; root->msg_levels && root->msg_levels[n * 2 + 0]; n++) {