Commit 7aed5a4b authored by Michael Smith's avatar Michael Smith

deinterleave: output channels should be marked as MONO, not FRONT_LEFT, if

we're not preserving input channel positions.
parent 7522cd15
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment