diff options
Diffstat (limited to 'gst/filter')
-rw-r--r-- | gst/filter/gstfilter.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 ) ); } |