mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
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:
parent
4bb94f1306
commit
af66fa8fa5
@ -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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user