demux_mkv: pretend waveext channel layouts by default

Not much of an impact, just makes output of the "channels" "track-list"
sub-property nicer.
This commit is contained in:
wm4 2016-02-29 21:00:18 +01:00
parent 4bb94f1306
commit af66fa8fa5
1 changed files with 1 additions and 1 deletions

View File

@ -1641,7 +1641,7 @@ static int demux_mkv_open_audio(demuxer_t *demuxer, mkv_track_t *track)
mp_chmap_from_waveext(&sh_a->channels, chmask);
if (sh_a->channels.num != track->a_channels)
mp_chmap_set_unknown(&sh_a->channels, track->a_channels);
mp_chmap_from_channels(&sh_a->channels, track->a_channels);
const char *codec = sh_a->codec;
if (!strcmp(codec, "mp3") || !strcmp(codec, "truehd")) {