summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstaviaudiodecoder.c
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 /gst/avi/gstaviaudiodecoder.c
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 'gst/avi/gstaviaudiodecoder.c')
-rw-r--r--gst/avi/gstaviaudiodecoder.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/avi/gstaviaudiodecoder.c b/gst/avi/gstaviaudiodecoder.c
index 38a6b853..d3b09b1f 100644
--- a/gst/avi/gstaviaudiodecoder.c
+++ b/gst/avi/gstaviaudiodecoder.c
@@ -47,7 +47,7 @@ enum {
/* FILL ME */
};
-GST_PADTEMPLATE_FACTORY (sink_templ,
+GST_PAD_TEMPLATE_FACTORY (sink_templ,
"sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -58,7 +58,7 @@ GST_PADTEMPLATE_FACTORY (sink_templ,
)
)
-GST_PADTEMPLATE_FACTORY (src_audio_templ,
+GST_PAD_TEMPLATE_FACTORY (src_audio_templ,
"src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -174,12 +174,12 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
/* create an elementfactory for the avi_audio_decoder element */
- factory = gst_elementfactory_new ("aviaudiodecoder",GST_TYPE_AVI_AUDIO_DECODER,
+ factory = gst_element_factory_new ("aviaudiodecoder",GST_TYPE_AVI_AUDIO_DECODER,
&gst_avi_audio_decoder_details);
g_return_val_if_fail (factory != NULL, FALSE);
- gst_elementfactory_add_padtemplate (factory, GST_PADTEMPLATE_GET (sink_templ));
- gst_elementfactory_add_padtemplate (factory, GST_PADTEMPLATE_GET (src_audio_templ));
+ gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (sink_templ));
+ gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_audio_templ));
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));