summaryrefslogtreecommitdiffstats
path: root/gst/cutter/gstcutter.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/cutter/gstcutter.c')
-rw-r--r--gst/cutter/gstcutter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c
index 74d582e5..39f60ca8 100644
--- a/gst/cutter/gstcutter.c
+++ b/gst/cutter/gstcutter.c
@@ -49,7 +49,7 @@ enum {
ARG_PRE_LENGTH
};
-GST_PADTEMPLATE_FACTORY (cutter_src_factory,
+GST_PAD_TEMPLATE_FACTORY (cutter_src_factory,
"src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -60,7 +60,7 @@ GST_PADTEMPLATE_FACTORY (cutter_src_factory,
)
);
-GST_PADTEMPLATE_FACTORY (cutter_sink_factory,
+GST_PAD_TEMPLATE_FACTORY (cutter_sink_factory,
"sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -353,12 +353,12 @@ plugin_init (GModule *module, GstPlugin *plugin)
{
GstElementFactory *factory;
- factory = gst_elementfactory_new("cutter",GST_TYPE_CUTTER,
+ factory = gst_element_factory_new("cutter",GST_TYPE_CUTTER,
&cutter_details);
g_return_val_if_fail(factory != NULL, FALSE);
- gst_elementfactory_add_padtemplate (factory, GST_PADTEMPLATE_GET (cutter_src_factory));
- gst_elementfactory_add_padtemplate (factory, GST_PADTEMPLATE_GET (cutter_sink_factory));
+ gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (cutter_src_factory));
+ gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (cutter_sink_factory));
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));