1 --- gst-plugins-bad-1.14.4/ext/fdkaac/gstfdkaacenc.c.orig 2018-03-23 21:45:15.000000000 +0100
2 +++ gst-plugins-bad-1.14.4/ext/fdkaac/gstfdkaacenc.c 2019-04-23 21:09:29.487183501 +0200
4 GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER,
5 GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
6 GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT}}, {
8 - GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
9 - GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT,
10 - GST_AUDIO_CHANNEL_POSITION_LFE1}}, {
12 GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER,
13 GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
14 --- gst-plugins-bad-1.14.4/ext/fdkaac/gstfdkaacdec.c.orig 2018-03-23 21:45:15.000000000 +0100
15 +++ gst-plugins-bad-1.14.4/ext/fdkaac/gstfdkaacdec.c 2019-04-23 21:21:00.353440757 +0200
17 gst_buffer_unref (codec_data);
20 + /* Choose WAV channel mapping to get interleaving even with libfdk-aac 2.0.0
21 + * The pChannelIndices retain the indices from the standard MPEG mapping so
22 + * we're agnostic to the actual order. */
24 aacDecoder_SetParam (self->dec, AAC_PCM_OUTPUT_CHANNEL_MAPPING,
25 - 0)) != AAC_DEC_OK) {
26 - GST_ERROR_OBJECT (self, "Failed to set output channel mapping: %d", err);
31 - aacDecoder_SetParam (self->dec, AAC_PCM_OUTPUT_INTERLEAVED,
33 - GST_ERROR_OBJECT (self, "Failed to set interleaved output: %d", err);
34 + GST_ERROR_OBJECT (self, "Failed to set output channel mapping: %d", err);