diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2012-05-10 21:15:42 +0100 |
---|---|---|
committer | Luis de Bethencourt <luis@debethencourt.com> | 2012-05-10 21:37:59 +0100 |
commit | e9cba00c6af5e6791b2f7ab76308d63ac8dc5b56 (patch) | |
tree | eb405e9158c9c6a46686ba3815d5974d79410868 /gst/gaudieffects/gstdilate.c | |
parent | 52265cce1eb972c3b2250a32dae906c869f33618 (diff) | |
download | gstreamer-plugins-bad-e9cba00c6af5e6791b2f7ab76308d63ac8dc5b56.tar.gz |
gaudieffects: consistency in templates name
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; |