mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
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.
This commit is contained in:
parent
b1dc816772
commit
a8fa9f2b47
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue