diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-01-04 11:09:32 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-01-05 10:30:33 +0100 |
commit | 720a49b86c0c4fe7d6d7ad0d0e9d0c5e55f70afa (patch) | |
tree | e5e49660a14ad7f3653fe7e488e92f0b5332c6d5 | |
parent | 80dcefc702192027da9b35a43e6b3a45a2b03d27 (diff) |
goom: Port to the new multichannel caps and update for the new raw audio layout field
-rw-r--r-- | gst/goom/gstgoom.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 86528355d..7da041c04 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") ); |