From 06d94641c271dc846e335104ac61beab38445c4a Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 11 Apr 2002 20:42:26 +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. --- ext/sdl/sdlvideosink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/sdl/sdlvideosink.c') diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index 22e5e11d..065a0c0b 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -580,7 +580,7 @@ plugin_init (GModule *module, GstPlugin *plugin) }; /* create an elementfactory for the sdlvideosink element */ - factory = gst_elementfactory_new("sdlvideosink",GST_TYPE_SDLVIDEOSINK, + factory = gst_element_factory_new("sdlvideosink",GST_TYPE_SDLVIDEOSINK, &gst_sdlvideosink_details); g_return_val_if_fail(factory != NULL, FALSE); @@ -598,13 +598,13 @@ plugin_init (GModule *module, GstPlugin *plugin) capslist = gst_caps_append(capslist, caps); } - sink_template = gst_padtemplate_new ( + sink_template = gst_pad_template_new ( "sink", GST_PAD_SINK, GST_PAD_ALWAYS, capslist, NULL); - gst_elementfactory_add_padtemplate (factory, sink_template); + gst_element_factory_add_pad_template (factory, sink_template); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); -- cgit v1.2.1