diff options
author | Philippe Normand <philn@igalia.com> | 2012-12-12 12:07:34 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-12-12 11:20:56 +0000 |
commit | a8fa9f2b477cd6537ec0ddf9715654ba5e54b462 (patch) | |
tree | 0f7200a53fc76ddb1844e761f0d9b8aa244fed4e /gst/interleave | |
parent | b1dc8167728343eb5f122dde277762413303e61b (diff) | |
download | gstreamer-plugins-good-a8fa9f2b477cd6537ec0ddf9715654ba5e54b462.tar.gz |
deinterleave: properly set srcpad channel position
The src pad caps always describe a single audio channel so only the
first position matters if deinterleave is configured to keep channel
positions in its src pads.
Diffstat (limited to 'gst/interleave')
-rw-r--r-- | gst/interleave/deinterleave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/interleave/deinterleave.c b/gst/interleave/deinterleave.c index f6324587e..795300d55 100644 --- a/gst/interleave/deinterleave.c +++ b/gst/interleave/deinterleave.c @@ -271,7 +271,7 @@ gst_deinterleave_set_pads_caps (GstDeinterleave * self, GstCaps * caps) GstAudioInfo info; gst_audio_info_from_caps (&info, caps); if (self->keep_positions) - GST_AUDIO_INFO_POSITION (&info, i) = + GST_AUDIO_INFO_POSITION (&info, 0) = GST_AUDIO_INFO_POSITION (&self->audio_info, i); srccaps = gst_audio_info_to_caps (&info); |