diff options
author | Andy Wingo <wingo@pobox.com> | 2002-04-11 20:42:25 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-04-11 20:42:25 +0000 |
commit | 3a9c675a6819ecd54c84d1810b7abe055fde3864 (patch) | |
tree | 8a98875ab1b8a5e21eb0df5e707d14fce8687eb6 /gst/level/gstlevel.c | |
parent | 18c6c04fdcc76ee66884a65c4bc7f6ce48d4398e (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/level/gstlevel.c')
-rw-r--r-- | gst/level/gstlevel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c index 29f1863c..d1eaf7ef 100644 --- a/gst/level/gstlevel.c +++ b/gst/level/gstlevel.c @@ -48,7 +48,7 @@ level_src_factory (void) static GstPadTemplate *template = NULL; if (!template) { - template = gst_padtemplate_new ( + template = gst_pad_template_new ( "src", GST_PAD_SRC, GST_PAD_ALWAYS, @@ -69,7 +69,7 @@ level_sink_factory (void) static GstPadTemplate *template = NULL; if (!template) { - template = gst_padtemplate_new ( + template = gst_pad_template_new ( "sink", GST_PAD_SINK, GST_PAD_ALWAYS, @@ -240,12 +240,12 @@ plugin_init (GModule *module, GstPlugin *plugin) { GstElementFactory *factory; - factory = gst_elementfactory_new("level",GST_TYPE_LEVEL, + factory = gst_element_factory_new("level",GST_TYPE_LEVEL, &level_details); g_return_val_if_fail(factory != NULL, FALSE); - gst_elementfactory_add_padtemplate (factory, level_src_factory ()); - gst_elementfactory_add_padtemplate (factory, level_sink_factory ()); + gst_element_factory_add_pad_template (factory, level_src_factory ()); + gst_element_factory_add_pad_template (factory, level_sink_factory ()); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); |