diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2016-03-04 15:50:26 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-03-24 14:56:51 +0200 |
commit | 8cdfb13658a069cf8c45a3265bf865849d3dc8e9 (patch) | |
tree | 93bc4a0be9c90b3e4d086328781411d9798933d8 /tools | |
parent | c25782921324cb9ff7bfcc757257dfde05f95df3 (diff) | |
download | gstreamer-plugins-bad-8cdfb13658a069cf8c45a3265bf865849d3dc8e9.tar.gz |
bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
Diffstat (limited to 'tools')
-rw-r--r-- | tools/element-templates/sinkpad | 4 | ||||
-rw-r--r-- | tools/element-templates/sinkpad-audio | 4 | ||||
-rw-r--r-- | tools/element-templates/sinkpad-simple | 4 | ||||
-rw-r--r-- | tools/element-templates/sinkpad-template | 4 | ||||
-rw-r--r-- | tools/element-templates/srcpad | 4 | ||||
-rw-r--r-- | tools/element-templates/srcpad-audio | 4 | ||||
-rw-r--r-- | tools/element-templates/srcpad-simple | 4 | ||||
-rw-r--r-- | tools/element-templates/srcpad-template | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/tools/element-templates/sinkpad b/tools/element-templates/sinkpad index 6d3bad1fb..ec8a98060 100644 --- a/tools/element-templates/sinkpad +++ b/tools/element-templates/sinkpad @@ -30,8 +30,8 @@ GST_STATIC_PAD_TEMPLATE ("sink", ); % base-init - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_replace_sink_template)); + gst_element_class_add_static_pad_template (element_class, + &gst_replace_sink_template); % instance-init replace->sinkpad = gst_pad_new_from_static_template (&gst_replace_sink_template diff --git a/tools/element-templates/sinkpad-audio b/tools/element-templates/sinkpad-audio index 3af507272..13d52d776 100644 --- a/tools/element-templates/sinkpad-audio +++ b/tools/element-templates/sinkpad-audio @@ -13,8 +13,8 @@ GST_STATIC_PAD_TEMPLATE ("sink", ); % base-init - gst_element_class_add_pad_template (GST_ELEMENT_CLASS(klass), - gst_static_pad_template_get (&gst_replace_sink_template)); + gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS(klass), + &gst_replace_sink_template); % instance-init % methods % end diff --git a/tools/element-templates/sinkpad-simple b/tools/element-templates/sinkpad-simple index 2500e3f63..9d7619b7b 100644 --- a/tools/element-templates/sinkpad-simple +++ b/tools/element-templates/sinkpad-simple @@ -11,8 +11,8 @@ GST_STATIC_PAD_TEMPLATE ("sink", ); % base-init - gst_element_class_add_pad_template (GST_ELEMENT_CLASS(klass), - gst_static_pad_template_get (&gst_replace_sink_template)); + gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS(klass), + &gst_replace_sink_template); % instance-init % methods % end diff --git a/tools/element-templates/sinkpad-template b/tools/element-templates/sinkpad-template index 785365d81..b06b346b1 100644 --- a/tools/element-templates/sinkpad-template +++ b/tools/element-templates/sinkpad-template @@ -11,8 +11,8 @@ GST_STATIC_PAD_TEMPLATE ("sink", ); % base-init - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_replace_sink_template); + gst_element_class_add_static_pad_template (element_class, + &gst_replace_sink_template); % instance-init % methods % end diff --git a/tools/element-templates/srcpad b/tools/element-templates/srcpad index 1afd7e76e..82e0eea3f 100644 --- a/tools/element-templates/srcpad +++ b/tools/element-templates/srcpad @@ -28,8 +28,8 @@ GST_STATIC_PAD_TEMPLATE ("src", ); % base-init - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_replace_src_template)); + gst_element_class_add_static_pad_template (element_class, + &gst_replace_src_template); % instance-init replace->srcpad = gst_pad_new_from_static_template (&gst_replace_src_template diff --git a/tools/element-templates/srcpad-audio b/tools/element-templates/srcpad-audio index 047c7c7a4..18698dd08 100644 --- a/tools/element-templates/srcpad-audio +++ b/tools/element-templates/srcpad-audio @@ -13,8 +13,8 @@ GST_STATIC_PAD_TEMPLATE ("src", ); % base-init - gst_element_class_add_pad_template (GST_ELEMENT_CLASS(klass), - gst_static_pad_template_get (&gst_replace_src_template)); + gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS(klass), + &gst_replace_src_template); % instance-init % methods % end diff --git a/tools/element-templates/srcpad-simple b/tools/element-templates/srcpad-simple index 5971809b6..e705f8084 100644 --- a/tools/element-templates/srcpad-simple +++ b/tools/element-templates/srcpad-simple @@ -11,8 +11,8 @@ GST_STATIC_PAD_TEMPLATE ("src", ); % base-init - gst_element_class_add_pad_template (GST_ELEMENT_CLASS(klass), - gst_static_pad_template_get (&gst_replace_src_template)); + gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS(klass), + &gst_replace_src_template); % instance-init % methods % end diff --git a/tools/element-templates/srcpad-template b/tools/element-templates/srcpad-template index 020f6a281..dd0842bbd 100644 --- a/tools/element-templates/srcpad-template +++ b/tools/element-templates/srcpad-template @@ -11,8 +11,8 @@ GST_STATIC_PAD_TEMPLATE ("src", ); % base-init - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_replace_src_template); + gst_element_class_add_static_pad_template (element_class, + &gst_replace_src_template); % instance-init % methods % end |