|
|
|
@ -1210,11 +1210,12 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample ) |
|
|
|
} |
|
|
|
} |
|
|
|
rgi_chans_sequence[i_channels] = 0; |
|
|
|
if( aout_CheckChannelReorder( rgi_chans_sequence, NULL, i_vlc_mapping, |
|
|
|
p_track->rgi_chans_reordering ) && |
|
|
|
aout_BitsPerSample( p_track->fmt.i_codec ) ) |
|
|
|
if( aout_BitsPerSample( p_track->fmt.i_codec ) ) |
|
|
|
{ |
|
|
|
p_track->b_chans_reorder = true; |
|
|
|
p_track->i_chans_to_reorder = |
|
|
|
aout_CheckChannelReorder( rgi_chans_sequence, NULL, |
|
|
|
i_vlc_mapping, |
|
|
|
p_track->rgi_chans_reordering ); |
|
|
|
p_track->fmt.audio.i_channels = i_channels; |
|
|
|
p_track->fmt.audio.i_physical_channels = i_vlc_mapping; |
|
|
|
} |
|
|
|
|