From 06d94641c271dc846e335104ac61beab38445c4a Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 11 Apr 2002 20:42:26 +0000 Subject: GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind. Original commit message from CVS: GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind. also, some -Werror fixes. --- ext/shout/gstshout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/shout') diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c index 0ff98332..1919768f 100644 --- a/ext/shout/gstshout.c +++ b/ext/shout/gstshout.c @@ -70,7 +70,7 @@ sink_template_factory (void) static GstPadTemplate *template = NULL; if (!template) { - template = gst_padtemplate_new ( + template = gst_pad_template_new ( "sink", GST_PAD_SINK, GST_PAD_ALWAYS, @@ -452,10 +452,10 @@ plugin_init (GModule *module, GstPlugin *plugin) { GstElementFactory *factory; - factory = gst_elementfactory_new("icecastsend", GST_TYPE_ICECASTSEND, &icecastsend_details); + factory = gst_element_factory_new("icecastsend", GST_TYPE_ICECASTSEND, &icecastsend_details); g_return_val_if_fail(factory != NULL, FALSE); - gst_elementfactory_add_padtemplate (factory, sink_template_factory ()); + gst_element_factory_add_pad_template (factory, sink_template_factory ()); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); -- cgit v1.2.1