gst/interleave/deinterleave.c: Always set the channel positions when gst_audio_get_ch...
authorSebastian Dröge <slomo@circular-chaos.org>
Sat, 17 May 2008 14:05:03 +0000 (14:05 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Sat, 17 May 2008 14:05:03 +0000 (14:05 +0000)
commit8bd32381e2a3d0251658c993ccff85f4a8ae2241
treeaa67a03a3d9b223cf8df4b580ff8786202b81bdc
parent5a344798f073dedd3a553349e3c2875fa87d16be
gst/interleave/deinterleave.c: Always set the channel positions when gst_audio_get_channel_positions() returns someth...

Original commit message from CVS:
* gst/interleave/deinterleave.c: (gst_deinterleave_sink_setcaps),
(gst_deinterleave_getcaps):
Always set the channel positions when gst_audio_get_channel_positions()
returns something, even if they're not set in the caps. This makes
sure that the output channels can be interleaved again correctly
in the mono/stereo cases too.
Don't ask for the peercaps of the current pad in getcaps() as this
might call getcaps() again and deadlock.
gst/interleave/deinterleave.c