diff options
author | Andy Wingo <wingo@pobox.com> | 2002-04-11 20:42:26 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-04-11 20:42:26 +0000 |
commit | 06d94641c271dc846e335104ac61beab38445c4a (patch) | |
tree | cd066b7966e619ab2c31e6fdf43d584be29c0e90 /ext/ladspa | |
parent | 8c43b5fd9b38cf9c55e5c148c985cd1b8731b5b7 (diff) | |
download | gst-plugins-bad-06d94641c271dc846e335104ac61beab38445c4a.tar.gz gst-plugins-bad-06d94641c271dc846e335104ac61beab38445c4a.tar.bz2 gst-plugins-bad-06d94641c271dc846e335104ac61beab38445c4a.zip |
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/ladspa')
-rw-r--r-- | ext/ladspa/gstladspa.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c index bb49547b..65c4c549 100644 --- a/ext/ladspa/gstladspa.c +++ b/ext/ladspa/gstladspa.c @@ -30,7 +30,7 @@ static GstPadTemplate* ladspa_src_factory (void) { return - gst_padtemplate_new ( + gst_pad_template_new ( "src", GST_PAD_SRC, GST_PAD_ALWAYS, @@ -52,7 +52,7 @@ static GstPadTemplate* ladspa_sink_factory (void) { return - gst_padtemplate_new ( + gst_pad_template_new ( "sink", GST_PAD_SINK, GST_PAD_ALWAYS, @@ -936,7 +936,7 @@ ladspa_describe_plugin(const char *pcFullFilename, details->copyright = g_strdup(desc->Copyright); /* register the plugin with gstreamer */ - factory = gst_elementfactory_new(type_name,type,details); + factory = gst_element_factory_new(type_name,type,details); g_return_if_fail(factory != NULL); gst_plugin_add_feature (ladspa_plugin, GST_PLUGIN_FEATURE (factory)); @@ -951,13 +951,13 @@ ladspa_describe_plugin(const char *pcFullFilename, if (LADSPA_IS_PORT_AUDIO(desc->PortDescriptors[j]) && LADSPA_IS_PORT_INPUT(desc->PortDescriptors[j])) { sinktempl = ladspa_sink_factory(); - gst_elementfactory_add_padtemplate (factory, sinktempl); + gst_element_factory_add_pad_template (factory, sinktempl); break; } } srctempl = ladspa_src_factory(); - gst_elementfactory_add_padtemplate (factory, srctempl); + gst_element_factory_add_pad_template (factory, srctempl); } } |