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 /ext/esd | |
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 'ext/esd')
-rw-r--r-- | ext/esd/esdmon.c | 8 | ||||
-rw-r--r-- | ext/esd/esdsink.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index 618b94fe..3398ad93 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -93,7 +93,7 @@ enum { ARG_HOST, }; -GST_PADTEMPLATE_FACTORY (src_factory, +GST_PAD_TEMPLATE_FACTORY (src_factory, "src", /* the name of the pads */ GST_PAD_SRC, /* type of the pad */ GST_PAD_ALWAYS, /* ALWAYS/SOMETIMES */ @@ -237,7 +237,7 @@ static void gst_esdmon_init(GstEsdmon *esdmon) { esdmon->srcpad = gst_pad_new_from_template ( - GST_PADTEMPLATE_GET (src_factory), "src"); + GST_PAD_TEMPLATE_GET (src_factory), "src"); gst_pad_set_get_function(esdmon->srcpad, gst_esdmon_get); gst_element_add_pad(GST_ELEMENT(esdmon), esdmon->srcpad); @@ -409,11 +409,11 @@ plugin_init (GModule *module, GstPlugin *plugin) { GstElementFactory *factory; - factory = gst_elementfactory_new("esdmon", GST_TYPE_ESDMON, + factory = gst_element_factory_new("esdmon", GST_TYPE_ESDMON, &esdmon_details); g_return_val_if_fail(factory != NULL, FALSE); - gst_elementfactory_add_padtemplate(factory, GST_PADTEMPLATE_GET (src_factory)); + gst_element_factory_add_pad_template(factory, GST_PAD_TEMPLATE_GET (src_factory)); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index 63b4a10d..ab92d418 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -48,7 +48,7 @@ enum { ARG_HOST, }; -GST_PADTEMPLATE_FACTORY (sink_factory, +GST_PAD_TEMPLATE_FACTORY (sink_factory, "sink", /* the name of the pads */ GST_PAD_SINK, /* type of the pad */ GST_PAD_ALWAYS, /* ALWAYS/SOMETIMES */ @@ -189,7 +189,7 @@ static void gst_esdsink_init(GstEsdsink *esdsink) { esdsink->sinkpad = gst_pad_new_from_template ( - GST_PADTEMPLATE_GET (sink_factory), "sink"); + GST_PAD_TEMPLATE_GET (sink_factory), "sink"); gst_element_add_pad(GST_ELEMENT(esdsink), esdsink->sinkpad); gst_pad_set_chain_function(esdsink->sinkpad, GST_DEBUG_FUNCPTR(gst_esdsink_chain)); gst_pad_set_connect_function(esdsink->sinkpad, gst_esdsink_sinkconnect); @@ -331,11 +331,11 @@ plugin_init (GModule *module, GstPlugin *plugin) { GstElementFactory *factory; - factory = gst_elementfactory_new("esdsink", GST_TYPE_ESDSINK, + factory = gst_element_factory_new("esdsink", GST_TYPE_ESDSINK, &esdsink_details); g_return_val_if_fail(factory != NULL, FALSE); - gst_elementfactory_add_padtemplate(factory, GST_PADTEMPLATE_GET (sink_factory)); + gst_element_factory_add_pad_template(factory, GST_PAD_TEMPLATE_GET (sink_factory)); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); |