From: Sebastian Dröge Date: Wed, 4 Jan 2012 10:09:32 +0000 (+0100) Subject: goom: Port to the new multichannel caps and update for the new raw audio layout field X-Git-Tag: RELEASE-0.11.1~158 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=720a49b86c0c4fe7d6d7ad0d0e9d0c5e55f70afa;p=platform%2Fupstream%2Fgst-plugins-good.git goom: Port to the new multichannel caps and update for the new raw audio layout field --- diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 8652835..7da041c 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -85,7 +85,14 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, /* ALWAYS/SOMETIMES */ GST_STATIC_CAPS ("audio/x-raw, " "format = (string) " GST_AUDIO_NE (S16) ", " - "rate = (int) [ 8000, 96000 ], " "channels = (int) { 1, 2 }") + "rate = (int) [ 8000, 96000 ], " + "channels = (int) 1, " + "layout = (string) interleaved; " + "audio/x-raw, " + "format = (string) " GST_AUDIO_NE (S16) ", " + "rate = (int) [ 8000, 96000 ], " + "channels = (int) 2, " + "channel-mask = (bitmask) 0x3, " "layout = (string) interleaved") );