diff options
Diffstat (limited to 'gst/gaudieffects')
-rw-r--r-- | gst/gaudieffects/gstburn.c | 6 | ||||
-rw-r--r-- | gst/gaudieffects/gstchromium.c | 6 | ||||
-rw-r--r-- | gst/gaudieffects/gstdilate.c | 6 | ||||
-rw-r--r-- | gst/gaudieffects/gstdodge.c | 6 | ||||
-rw-r--r-- | gst/gaudieffects/gstexclusion.c | 6 | ||||
-rw-r--r-- | gst/gaudieffects/gstgaussblur.c | 6 | ||||
-rw-r--r-- | gst/gaudieffects/gstsolarize.c | 6 |
7 files changed, 14 insertions, 28 deletions
diff --git a/gst/gaudieffects/gstburn.c b/gst/gaudieffects/gstburn.c index 3d769356a..9bd3bce1a 100644 --- a/gst/gaudieffects/gstburn.c +++ b/gst/gaudieffects/gstburn.c @@ -138,10 +138,8 @@ gst_burn_base_init (gpointer gclass) "Burn adjusts the colors in the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_factory)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } /* Initialize the burn's class. */ diff --git a/gst/gaudieffects/gstchromium.c b/gst/gaudieffects/gstchromium.c index 94d3b1505..fc91dbaa6 100644 --- a/gst/gaudieffects/gstchromium.c +++ b/gst/gaudieffects/gstchromium.c @@ -154,10 +154,8 @@ gst_chromium_base_init (gpointer gclass) "Chromium breaks the colors of the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_factory)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } /* Initialize the chromium's class. */ diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index c89123c16..72e6eb083 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -139,10 +139,8 @@ gst_dilate_base_init (gpointer gclass) "Dilate copies the brightest pixel around.", "Luis de Bethencourt <luis@debethencourt.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_factory)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } /* Initialize the dilate's class. */ diff --git a/gst/gaudieffects/gstdodge.c b/gst/gaudieffects/gstdodge.c index ff61aa7e5..64cfd0149 100644 --- a/gst/gaudieffects/gstdodge.c +++ b/gst/gaudieffects/gstdodge.c @@ -135,10 +135,8 @@ gst_dodge_base_init (gpointer gclass) "Dodge saturates the colors in the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_factory)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } /* Initialize the dodge's class. */ diff --git a/gst/gaudieffects/gstexclusion.c b/gst/gaudieffects/gstexclusion.c index 0b8f5d592..4d5fc7add 100644 --- a/gst/gaudieffects/gstexclusion.c +++ b/gst/gaudieffects/gstexclusion.c @@ -140,10 +140,8 @@ gst_exclusion_base_init (gpointer gclass) "Exclusion exclodes the colors in the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_factory)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } /* Initialize the exclusion's class. */ diff --git a/gst/gaudieffects/gstgaussblur.c b/gst/gaudieffects/gstgaussblur.c index 6b1223e1d..2409f7552 100644 --- a/gst/gaudieffects/gstgaussblur.c +++ b/gst/gaudieffects/gstgaussblur.c @@ -71,10 +71,8 @@ gauss_blur_base_init (gpointer gclass) "Perform Gaussian blur/sharpen on a video", "Jan Schmidt <thaytan@noraisin.net>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_factory)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } static void diff --git a/gst/gaudieffects/gstsolarize.c b/gst/gaudieffects/gstsolarize.c index 8cce8dbcf..0c961374f 100644 --- a/gst/gaudieffects/gstsolarize.c +++ b/gst/gaudieffects/gstsolarize.c @@ -144,10 +144,8 @@ gst_solarize_base_init (gpointer gclass) "Solarize tunable inverse in the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_factory)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_factory)); + gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template (element_class, &sink_factory); } /* Initialize the solarize's class. */ |