diff options
author | wm4 <wm4@nowhere> | 2015-02-26 15:41:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-26 15:41:45 +0100 |
commit | 0035dbdbb8f33add8a83fa216a4e597de560ec48 (patch) | |
tree | ef00230850e57914d8506363c4a8401a8fd9d21b /audio | |
parent | a5f3083ae726452d07fca3ed8acdfbcaed84b0a7 (diff) | |
download | mpv-0035dbdbb8f33add8a83fa216a4e597de560ec48.tar.bz2 mpv-0035dbdbb8f33add8a83fa216a4e597de560ec48.tar.xz |
audio: accept 1.0 and 2.0 as aliases for mono and stereo
Diffstat (limited to 'audio')
-rw-r--r-- | audio/chmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/chmap.c b/audio/chmap.c index 497b910cff..1991d1593d 100644 --- a/audio/chmap.c +++ b/audio/chmap.c @@ -57,7 +57,9 @@ static const char *const speaker_names[MP_SPEAKER_ID_COUNT][2] = { static const char *const std_layout_names[][2] = { {"empty", ""}, // not in lavc {"mono", "fc"}, + {"1.0", "fc"}, // not in lavc {"stereo", "fl-fr"}, + {"2.0", "fl-fr"}, // not in lavc {"2.1", "fl-fr-lfe"}, {"3.0", "fl-fr-fc"}, {"3.0(back)", "fl-fr-bc"}, |