alsasink: make work for raw audio formats by fixing template caps
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 23 Dec 2011 00:54:43 +0000 (00:54 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 23 Dec 2011 00:54:43 +0000 (00:54 +0000)
ext/alsa/gstalsasink.c

index 19cab22..3f96a7d 100644 (file)
@@ -101,7 +101,7 @@ static GstStaticPadTemplate alsasink_sink_factory =
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
-        "formats = (string) " GST_AUDIO_FORMATS_ALL ", "
+        "format = (string) " GST_AUDIO_FORMATS_ALL ", "
         "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ]; "
         "audio/x-iec958")
     );