gaudieffects: consistency in templates name

This commit is contained in:
Luis de Bethencourt 2012-05-10 21:15:42 +01:00
parent 52265cce1e
commit e9cba00c6a
7 changed files with 42 additions and 28 deletions

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;

View 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;