From 3a9c675a6819ecd54c84d1810b7abe055fde3864 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 11 Apr 2002 20:42:25 +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. --- sys/oss/gstossgst.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/oss/gstossgst.c') diff --git a/sys/oss/gstossgst.c b/sys/oss/gstossgst.c index fbaa903e..71b9f9cf 100644 --- a/sys/oss/gstossgst.c +++ b/sys/oss/gstossgst.c @@ -69,7 +69,7 @@ static GstPadTemplate* ossgst_src_factory (void) { return - gst_padtemplate_new ( + gst_pad_template_new ( "src", GST_PAD_SRC, GST_PAD_ALWAYS, @@ -435,11 +435,11 @@ gst_ossgst_factory_init (GstPlugin *plugin) plugin_dir = g_strjoinv (G_DIR_SEPARATOR_S, path); g_strfreev (path); - factory = gst_elementfactory_new ("ossgst", GST_TYPE_OSSGST, &gst_ossgst_details); + factory = gst_element_factory_new ("ossgst", GST_TYPE_OSSGST, &gst_ossgst_details); g_return_val_if_fail (factory != NULL, FALSE); gst_ossgst_src_template = ossgst_src_factory (); - gst_elementfactory_add_padtemplate (factory, gst_ossgst_src_template); + gst_element_factory_add_pad_template (factory, gst_ossgst_src_template); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); -- cgit