summaryrefslogtreecommitdiffstats
path: root/gst/mpegaudioparse/gstmpegaudioparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mpegaudioparse/gstmpegaudioparse.c')
-rw-r--r--gst/mpegaudioparse/gstmpegaudioparse.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c
index 23e632ac..151aec0c 100644
--- a/gst/mpegaudioparse/gstmpegaudioparse.c
+++ b/gst/mpegaudioparse/gstmpegaudioparse.c
@@ -35,7 +35,7 @@ static GstPadTemplate*
mp3_src_factory (void)
{
return
- gst_padtemplate_new (
+ gst_pad_template_new (
"src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -56,7 +56,7 @@ static GstPadTemplate*
mp3_sink_factory (void)
{
return
- gst_padtemplate_new (
+ gst_pad_template_new (
"sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -480,16 +480,16 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
/* create an elementfactory for the mp3parse element */
- factory = gst_elementfactory_new ("mp3parse",
+ factory = gst_element_factory_new ("mp3parse",
GST_TYPE_MP3PARSE,
&mp3parse_details);
g_return_val_if_fail (factory != NULL, FALSE);
sink_temp = mp3_sink_factory ();
- gst_elementfactory_add_padtemplate (factory, sink_temp);
+ gst_element_factory_add_pad_template (factory, sink_temp);
src_temp = mp3_src_factory ();
- gst_elementfactory_add_padtemplate (factory, src_temp);
+ gst_element_factory_add_pad_template (factory, src_temp);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));