summaryrefslogtreecommitdiff
path: root/gst/gaudieffects/gstexclusion.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2012-05-10 21:15:42 +0100
committerLuis de Bethencourt <luis@debethencourt.com>2012-05-10 21:37:59 +0100
commite9cba00c6af5e6791b2f7ab76308d63ac8dc5b56 (patch)
treeeb405e9158c9c6a46686ba3815d5974d79410868 /gst/gaudieffects/gstexclusion.c
parent52265cce1eb972c3b2250a32dae906c869f33618 (diff)
downloadgstreamer-plugins-bad-e9cba00c6af5e6791b2f7ab76308d63ac8dc5b56.tar.gz
gaudieffects: consistency in templates name
Diffstat (limited to 'gst/gaudieffects/gstexclusion.c')
-rw-r--r--gst/gaudieffects/gstexclusion.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gst/gaudieffects/gstexclusion.c b/gst/gaudieffects/gstexclusion.c
index 87119e21f..b5ac80654 100644
--- a/gst/gaudieffects/gstexclusion.c
+++ b/gst/gaudieffects/gstexclusion.c
@@ -101,13 +101,15 @@ static void transform (guint32 * src, guint32 * dest, gint video_area,
/* The capabilities of the inputs and outputs. */
-static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
+static GstStaticPadTemplate gst_exclusion_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_exclusion_src_template =
+GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (CAPS_STR)
@@ -141,9 +143,9 @@ gst_exclusion_class_init (GstExclusionClass * 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_exclusion_sink_template));
gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&sink_factory));
+ gst_static_pad_template_get (&gst_exclusion_src_template));
gobject_class->set_property = gst_exclusion_set_property;
gobject_class->get_property = gst_exclusion_get_property;