From 9304f959a454295ef39f7189eb269c07d214bd68 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 25 Mar 2010 23:07:46 +0200 Subject: [PATCH] signalprocessor: add rate to caps --- gst-libs/gst/signalprocessor/gstsignalprocessor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/signalprocessor/gstsignalprocessor.c b/gst-libs/gst/signalprocessor/gstsignalprocessor.c index a083026ff4..2c38c1192e 100644 --- a/gst-libs/gst/signalprocessor/gstsignalprocessor.c +++ b/gst-libs/gst/signalprocessor/gstsignalprocessor.c @@ -108,7 +108,8 @@ gst_signal_processor_class_add_pad_template (GstSignalProcessorClass * klass, caps = gst_caps_new_simple ("audio/x-raw-float", "endianness", G_TYPE_INT, G_BYTE_ORDER, - "width", G_TYPE_INT, 32, "channels", G_TYPE_INT, channels, NULL); + "width", G_TYPE_INT, 32, "channels", G_TYPE_INT, channels, + "rate", GST_TYPE_INT_RANGE, 1, G_MAXINT, NULL); new = g_object_new (GST_TYPE_SIGNAL_PROCESSOR_PAD_TEMPLATE, "name", name, "name-template", name,