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:22:49 +0000 |
commit | cd1ca612675507c28b4ce9f74aee3cb5157551b7 (patch) | |
tree | 9152d15ddd9251423dfdc65982278aefc6805ad6 | |
parent | 14395f2320ec19f9f971ffb87842dfe0023c615d (diff) |
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.
-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 7b9d5b1ea..a98774867 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); |