[gst-devel] Channel positioning - redux

Tim Müller t.i.m at zen.co.uk
Wed May 17 01:21:06 CEST 2006

On Tue, 2006-05-16 at 12:39 +0100, Iain * wrote:

> I've been trying out some stuff with setting channel-positions in caps
> and I came across this fun bit of code in
> gst-plugins-base/gst-libs/gst/audio/multichannel.c:
> [which throws a warning if channels=1 and position != FRONT_MONO]
> What I'm doing in my 0.10 port of the deinterleaver is setting the
> channel-position on the single channel output stream based on its
> position in the multi-channel input stream. So for a stereo stream the
> first srcpad on the deinterleaver would be a mono stream with
> channel-position set as FRONT_LEFT, the second pad would get

Sounds like a good idea and should be made to work IMHO.
gst-plugins-base CVS doesn't throw that warning any longer for the
channels=1 case.


More information about the gstreamer-devel mailing list