1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00

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

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)); 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, bool ao_chmap_sel_get_def(struct ao *ao, const struct mp_chmap_sel *s,