summaryrefslogtreecommitdiffstats
path: root/ext/aalib
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-04-11 20:42:25 +0000
committerAndy Wingo <wingo@pobox.com>2002-04-11 20:42:25 +0000
commit3a9c675a6819ecd54c84d1810b7abe055fde3864 (patch)
tree8a98875ab1b8a5e21eb0df5e707d14fce8687eb6 /ext/aalib
parent18c6c04fdcc76ee66884a65c4bc7f6ce48d4398e (diff)
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.
Diffstat (limited to 'ext/aalib')
-rw-r--r--ext/aalib/gstaasink.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c
index 2a3f7547..28f92a3b 100644
--- a/ext/aalib/gstaasink.c
+++ b/ext/aalib/gstaasink.c
@@ -56,7 +56,7 @@ enum {
ARG_FRAME_TIME,
};
-GST_PADTEMPLATE_FACTORY (sink_template,
+GST_PAD_TEMPLATE_FACTORY (sink_template,
"sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -267,7 +267,7 @@ static void
gst_aasink_init (GstAASink *aasink)
{
aasink->sinkpad = gst_pad_new_from_template (
- GST_PADTEMPLATE_GET (sink_template), "sink");
+ GST_PAD_TEMPLATE_GET (sink_template), "sink");
gst_element_add_pad (GST_ELEMENT (aasink), aasink->sinkpad);
gst_pad_set_chain_function (aasink->sinkpad, gst_aasink_chain);
gst_pad_set_connect_function (aasink->sinkpad, gst_aasink_sinkconnect);
@@ -532,12 +532,12 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
/* create an elementfactory for the aasink element */
- factory = gst_elementfactory_new("aasink",GST_TYPE_AASINK,
+ factory = gst_element_factory_new("aasink",GST_TYPE_AASINK,
&gst_aasink_details);
g_return_val_if_fail(factory != NULL, FALSE);
- gst_elementfactory_add_padtemplate (factory,
- GST_PADTEMPLATE_GET (sink_template));
+ gst_element_factory_add_pad_template (factory,
+ GST_PAD_TEMPLATE_GET (sink_template));
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));