While decoding e.g. raw MHAS stream made from several concatenated streams it is possible for the stream parameters (e.g. number of channels or channel layout) to change. While decoder is able to recognize and handle such situation, it does not report any changes in ia_mpegh_dec_execute beside the number of channels (and this is definitely not enough for multi-channel configuration to set the correct channel layout). Additionally pstr_output_config->i_channel_mask is completely useless as it is set to 3 during init and is never changed.
One would expect the decoder to set at least new speaker layout information and CICP index on stream parameters change.
While decoding e.g. raw MHAS stream made from several concatenated streams it is possible for the stream parameters (e.g. number of channels or channel layout) to change. While decoder is able to recognize and handle such situation, it does not report any changes in
ia_mpegh_dec_execute
beside the number of channels (and this is definitely not enough for multi-channel configuration to set the correct channel layout). Additionallypstr_output_config->i_channel_mask
is completely useless as it is set to 3 during init and is never changed.One would expect the decoder to set at least new speaker layout information and CICP index on stream parameters change.
param_change.zip