alsasink: make work for raw audio formats by fixing template caps

This commit is contained in:
Tim-Philipp Müller 2011-12-23 00:54:43 +00:00
parent dde5e5a248
commit cab6432c68

View 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")
);