deinterleave: output channels should be marked as MONO, not FRONT_LEFT, if
authorMichael Smith <msmith@rdio.com>
Fri, 5 Oct 2012 22:12:27 +0000 (15:12 -0700)
committerMichael Smith <msmith@rdio.com>
Fri, 5 Oct 2012 22:12:27 +0000 (15:12 -0700)
we're not preserving input channel positions.

gst/interleave/deinterleave.c

index 9784cf1..7b9d5b1 100644 (file)
@@ -229,7 +229,7 @@ gst_deinterleave_add_new_pads (GstDeinterleave * self, GstCaps * caps)
     GstAudioInfo info;
     GstAudioFormat format = GST_AUDIO_INFO_FORMAT (&self->audio_info);
     gint rate = GST_AUDIO_INFO_RATE (&self->audio_info);
-    GstAudioChannelPosition position = 0;
+    GstAudioChannelPosition position = GST_AUDIO_CHANNEL_POSITION_MONO;
 
     /* Set channel position if we know it */
     if (self->keep_positions)