summaryrefslogtreecommitdiffstats
path: root/gst/mpeg1videoparse/gstmp1videoparse.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-04-11 20:42:26 +0000
committerAndy Wingo <wingo@pobox.com>2002-04-11 20:42:26 +0000
commit06d94641c271dc846e335104ac61beab38445c4a (patch)
treecd066b7966e619ab2c31e6fdf43d584be29c0e90 /gst/mpeg1videoparse/gstmp1videoparse.c
parent8c43b5fd9b38cf9c55e5c148c985cd1b8731b5b7 (diff)
downloadgst-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 'gst/mpeg1videoparse/gstmp1videoparse.c')
-rw-r--r--gst/mpeg1videoparse/gstmp1videoparse.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c
index ce4fddb6..ea608208 100644
--- a/gst/mpeg1videoparse/gstmp1videoparse.c
+++ b/gst/mpeg1videoparse/gstmp1videoparse.c
@@ -45,7 +45,7 @@ static GstPadTemplate*
src_factory (void)
{
return
- gst_padtemplate_new (
+ gst_pad_template_new (
"src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -64,7 +64,7 @@ static GstPadTemplate*
sink_factory (void)
{
return
- gst_padtemplate_new (
+ gst_pad_template_new (
"sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -395,15 +395,15 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
/* create an elementfactory for the mp1videoparse element */
- factory = gst_elementfactory_new("mp1videoparse",GST_TYPE_MP1VIDEOPARSE,
+ factory = gst_element_factory_new("mp1videoparse",GST_TYPE_MP1VIDEOPARSE,
&mp1videoparse_details);
g_return_val_if_fail(factory != NULL, FALSE);
src_template = src_factory ();
- gst_elementfactory_add_padtemplate (factory, src_template);
+ gst_element_factory_add_pad_template (factory, src_template);
sink_template = sink_factory ();
- 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));