visual: remove channel mask
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 13 Aug 2012 09:51:45 +0000 (11:51 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 13 Aug 2012 09:52:15 +0000 (11:52 +0200)
We don't really care about what's inside those channels. This also makes the
caps valid because now it's no longer possible to have channels=1 and a mask
of 0x3.

ext/libvisual/visual.c

index 5ecb5d7..5afa774 100644 (file)
@@ -48,7 +48,6 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) " GST_AUDIO_NE (S16) ", "
         "layout = (string) interleaved, " "channels = (int) { 1, 2 }, "
-        "channel-mask = (bitmask) 0x3, "
 #if defined(VISUAL_API_VERSION) && VISUAL_API_VERSION >= 4000 && VISUAL_API_VERSION < 5000
         "rate = (int) { 8000, 11250, 22500, 32000, 44100, 48000, 96000 }"
 #else