audio: accept 1.0 and 2.0 as aliases for mono and stereo

This commit is contained in:
wm4 2015-02-26 15:41:45 +01:00
parent a5f3083ae7
commit 0035dbdbb8
1 changed files with 2 additions and 0 deletions

View File

@ -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"},