diff options
author | wm4 <wm4@nowhere> | 2015-03-16 20:29:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-16 20:29:52 +0100 |
commit | 420e657a0b9f4fdd18b4d70a0fd289de9a140a60 (patch) | |
tree | c09fcf3e3f13083de0969e03e3c2b6a453e29b9d /audio | |
parent | 7c2f21cb507ec1f10b91b52f093360122445b606 (diff) | |
download | mpv-420e657a0b9f4fdd18b4d70a0fd289de9a140a60.tar.bz2 mpv-420e657a0b9f4fdd18b4d70a0fd289de9a140a60.tar.xz |
ao: slightly extend debug messages
This function already got uglified with debug printing; might as well go
all the way.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao.c | 5 |
1 files changed, 4 insertions, 1 deletions
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, |