diff options
Diffstat (limited to 'gst/gaudieffects/gstdilate.c')
-rw-r--r-- | gst/gaudieffects/gstdilate.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index 660b2d131..51602d58d 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -102,13 +102,15 @@ static inline guint32 get_luminance (guint32 in); /* The capabilities of the inputs and outputs. */ -static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", +static GstStaticPadTemplate gst_dilate_sink_template = +GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS (CAPS_STR) ); -static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", +static GstStaticPadTemplate gst_dilate_src_template = +GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS (CAPS_STR) @@ -140,9 +142,9 @@ gst_dilate_class_init (GstDilateClass * klass) "Luis de Bethencourt <luis@debethencourt.com>"); gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&src_factory)); + gst_static_pad_template_get (&gst_dilate_sink_template)); gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&sink_factory)); + gst_static_pad_template_get (&gst_dilate_src_template)); gobject_class->set_property = gst_dilate_set_property; gobject_class->get_property = gst_dilate_get_property; |