ao: slightly extend debug messages

This function already got uglified with debug printing; might as well go
all the way.
This commit is contained in:
wm4 2015-03-16 20:29:52 +01:00
parent 7c2f21cb50
commit 420e657a0b
1 changed files with 4 additions and 1 deletions

View File

@ -419,7 +419,10 @@ bool ao_chmap_sel_adjust(struct ao *ao, const struct mp_chmap_sel *s,
MP_DBG(ao, "chmap_sel #%d: %s\n", i, mp_chmap_to_str(&c));
}
}
return mp_chmap_sel_adjust(s, map);
bool r = mp_chmap_sel_adjust(s, map);
if (r)
MP_DBG(ao, "result: %s\n", mp_chmap_to_str(map));
return r;
}
bool ao_chmap_sel_get_def(struct ao *ao, const struct mp_chmap_sel *s,