summaryrefslogtreecommitdiffstats
path: root/ext/gsm
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 /ext/gsm
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 'ext/gsm')
-rw-r--r--ext/gsm/gstgsm.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/gsm/gstgsm.c b/ext/gsm/gstgsm.c
index 47b33a27..619b82ac 100644
--- a/ext/gsm/gstgsm.c
+++ b/ext/gsm/gstgsm.c
@@ -58,7 +58,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstCaps *raw_caps, *gsm_caps;
/* create an elementfactory for the gsmdec element */
- enc = gst_elementfactory_new("gsmenc",GST_TYPE_GSMENC,
+ enc = gst_element_factory_new("gsmenc",GST_TYPE_GSMENC,
&gst_gsmenc_details);
g_return_val_if_fail(enc != NULL, FALSE);
@@ -66,35 +66,35 @@ plugin_init (GModule *module, GstPlugin *plugin)
gsm_caps = GST_CAPS_GET (gsm_caps_factory);
/* register sink pads */
- gsmenc_sink_template = gst_padtemplate_new ("sink", GST_PAD_SINK,
+ gsmenc_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,
GST_PAD_ALWAYS,
raw_caps, NULL);
- gst_elementfactory_add_padtemplate (enc, gsmenc_sink_template);
+ gst_element_factory_add_pad_template (enc, gsmenc_sink_template);
/* register src pads */
- gsmenc_src_template = gst_padtemplate_new ("src", GST_PAD_SRC,
+ gsmenc_src_template = gst_pad_template_new ("src", GST_PAD_SRC,
GST_PAD_ALWAYS,
gsm_caps, NULL);
- gst_elementfactory_add_padtemplate (enc, gsmenc_src_template);
+ gst_element_factory_add_pad_template (enc, gsmenc_src_template);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (enc));
/* create an elementfactory for the gsmdec element */
- dec = gst_elementfactory_new("gsmdec",GST_TYPE_GSMDEC,
+ dec = gst_element_factory_new("gsmdec",GST_TYPE_GSMDEC,
&gst_gsmdec_details);
g_return_val_if_fail(dec != NULL, FALSE);
/* register sink pads */
- gsmdec_sink_template = gst_padtemplate_new ("sink", GST_PAD_SINK,
+ gsmdec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,
GST_PAD_ALWAYS,
gsm_caps, NULL);
- gst_elementfactory_add_padtemplate (dec, gsmdec_sink_template);
+ gst_element_factory_add_pad_template (dec, gsmdec_sink_template);
/* register src pads */
- gsmdec_src_template = gst_padtemplate_new ("src", GST_PAD_SRC,
+ gsmdec_src_template = gst_pad_template_new ("src", GST_PAD_SRC,
GST_PAD_ALWAYS,
raw_caps, NULL);
- gst_elementfactory_add_padtemplate (dec, gsmdec_src_template);
+ gst_element_factory_add_pad_template (dec, gsmdec_src_template);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (dec));