From 420e657a0b9f4fdd18b4d70a0fd289de9a140a60 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Mar 2015 20:29:52 +0100 Subject: ao: slightly extend debug messages This function already got uglified with debug printing; might as well go all the way. --- audio/out/ao.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'audio/out') diff --git a/audio/out/ao.c b/audio/out/ao.c index 69811123fc..8a66b1171c 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -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, -- cgit v1.2.3