diff options
author | wm4 <wm4@nowhere> | 2015-06-25 13:11:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-25 13:15:32 +0200 |
commit | 5d71188c9939a0a881b82982efb5203d6704fd0b (patch) | |
tree | 3f5f4605b7508027dd1abd845f6db096df7df7da /audio/out/ao.c | |
parent | 0906f758d3c6f26098287b4c089af70560d973e7 (diff) | |
download | mpv-5d71188c9939a0a881b82982efb5203d6704fd0b.tar.bz2 mpv-5d71188c9939a0a881b82982efb5203d6704fd0b.tar.xz |
ao: standardize channel layout name in debug output further
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r-- | audio/out/ao.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c index 40ca53d874..4b9b2f9bec 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -416,6 +416,7 @@ bool ao_chmap_sel_adjust(struct ao *ao, const struct mp_chmap_sel *s, struct mp_chmap c = s->chmaps[i]; struct mp_chmap cr = c; mp_chmap_reorder_norm(&cr); + mp_chmap_remove_na(&cr); MP_DBG(ao, "chmap_sel #%d: %s (%s)\n", i, mp_chmap_to_str(&c), mp_chmap_to_str(&cr)); } @@ -424,6 +425,7 @@ bool ao_chmap_sel_adjust(struct ao *ao, const struct mp_chmap_sel *s, if (r) { struct mp_chmap mapr = *map; mp_chmap_reorder_norm(&mapr); + mp_chmap_remove_na(&mapr); MP_DBG(ao, "result: %s (%s)\n", mp_chmap_to_str(map), mp_chmap_to_str(&mapr)); } |