gaudieffects: consistency in templates name
authorLuis de Bethencourt <luis@debethencourt.com>
Thu, 10 May 2012 20:15:42 +0000 (21:15 +0100)
committerLuis de Bethencourt <luis@debethencourt.com>
Thu, 10 May 2012 20:37:59 +0000 (21:37 +0100)
gst/gaudieffects/gstburn.c
gst/gaudieffects/gstchromium.c
gst/gaudieffects/gstdilate.c
gst/gaudieffects/gstdodge.c
gst/gaudieffects/gstexclusion.c
gst/gaudieffects/gstgaussblur.c
gst/gaudieffects/gstsolarize.c

index 8179d5d..fb982c6 100644 (file)
@@ -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_burn_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_burn_src_template =
+GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS (CAPS_STR)
@@ -139,9 +141,9 @@ gst_burn_class_init (GstBurnClass * 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_burn_sink_template));
   gst_element_class_add_pad_template (gstelement_class,
-      gst_static_pad_template_get (&sink_factory));
+      gst_static_pad_template_get (&gst_burn_src_template));
 
   gobject_class->set_property = gst_burn_set_property;
   gobject_class->get_property = gst_burn_get_property;
index 795b422..68590ed 100644 (file)
@@ -116,13 +116,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_chromium_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_chromium_src_template =
+GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS (CAPS_STR)
@@ -153,9 +155,9 @@ gst_chromium_class_init (GstChromiumClass * 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_chromium_sink_template));
   gst_element_class_add_pad_template (gstelement_class,
-      gst_static_pad_template_get (&sink_factory));
+      gst_static_pad_template_get (&gst_chromium_src_template));
 
   gobject_class->set_property = gst_chromium_set_property;
   gobject_class->get_property = gst_chromium_get_property;
index 660b2d1..51602d5 100644 (file)
@@ -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;
index a9bdf4c..41cac51 100644 (file)
@@ -98,13 +98,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_dodge_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_dodge_src_template =
+GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS (CAPS_STR)
@@ -136,9 +138,9 @@ gst_dodge_class_init (GstDodgeClass * 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_dodge_sink_template));
   gst_element_class_add_pad_template (gstelement_class,
-      gst_static_pad_template_get (&sink_factory));
+      gst_static_pad_template_get (&gst_dodge_src_template));
 
   gobject_class->set_property = gst_dodge_set_property;
   gobject_class->get_property = gst_dodge_get_property;
index 87119e2..b5ac806 100644 (file)
@@ -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;
index 5c7ad60..b53da3a 100644 (file)
@@ -94,13 +94,15 @@ GST_DEBUG_CATEGORY_STATIC (gst_gauss_blur_debug);
 #define CAPS_STR GST_VIDEO_CAPS_MAKE ("AYUV")
 
 /* The capabilities of the inputs and outputs. */
-static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
+static GstStaticPadTemplate gst_gaussianblur_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_gaussianblur_src_template =
+GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS (CAPS_STR)
@@ -137,9 +139,9 @@ gst_gaussianblur_class_init (GstGaussianBlurClass * klass)
       "Jan Schmidt <thaytan@noraisin.net>");
 
   gst_element_class_add_pad_template (gstelement_class,
-      gst_static_pad_template_get (&src_factory));
+      gst_static_pad_template_get (&gst_gaussianblur_sink_template));
   gst_element_class_add_pad_template (gstelement_class,
-      gst_static_pad_template_get (&sink_factory));
+      gst_static_pad_template_get (&gst_gaussianblur_src_template));
 
   gobject_class->set_property = gst_gaussianblur_set_property;
   gobject_class->get_property = gst_gaussianblur_get_property;
index 6d6cf47..087e0a7 100644 (file)
@@ -103,13 +103,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_solarize_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_solarize_src_template =
+GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS (CAPS_STR)
@@ -144,9 +146,9 @@ gst_solarize_class_init (GstSolarizeClass * 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_solarize_sink_template));
   gst_element_class_add_pad_template (gstelement_class,
-      gst_static_pad_template_get (&sink_factory));
+      gst_static_pad_template_get (&gst_solarize_src_template));
 
   gobject_class->set_property = gst_solarize_set_property;
   gobject_class->get_property = gst_solarize_get_property;