From 6d6150c0529d8f5af1857543c5d94902eab7237c Mon Sep 17 00:00:00 2001 From: Leif Johnson Date: Sat, 19 Jul 2003 23:47:42 +0000 Subject: + the last of the float caps changes ... these are a bit more pervasive Original commit message from CVS: + the last of the float caps changes ... these are a bit more pervasive --- gst/filter/gstfilter.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gst/filter') diff --git a/gst/filter/gstfilter.c b/gst/filter/gstfilter.c index f031bb6e..c5e6ccba 100644 --- a/gst/filter/gstfilter.c +++ b/gst/filter/gstfilter.c @@ -38,38 +38,38 @@ static struct _elements_entry _elements[] = { { NULL, 0 }, }; -GstPadTemplate* +GstPadTemplate* gst_filter_src_factory (void) { static GstPadTemplate *templ = NULL; if (!templ) { - templ = GST_PAD_TEMPLATE_NEW ( + templ = GST_PAD_TEMPLATE_NEW ( "src", GST_PAD_SRC, GST_PAD_ALWAYS, gst_caps_new ( "filter_src", "audio/x-raw-float", - GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS + GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_PROPS ) ); } return templ; } -GstPadTemplate* +GstPadTemplate* gst_filter_sink_factory (void) { static GstPadTemplate *templ = NULL; if (!templ) { - templ = GST_PAD_TEMPLATE_NEW ( + templ = GST_PAD_TEMPLATE_NEW ( "sink", GST_PAD_SINK, GST_PAD_ALWAYS, gst_caps_new ( "filter_src", "audio/x-raw-float", - GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS + GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_PROPS ) ); } -- cgit v1.2.1