summaryrefslogtreecommitdiffstats
path: root/ext/raw1394
diff options
context:
space:
mode:
Diffstat (limited to 'ext/raw1394')
-rw-r--r--ext/raw1394/gst1394.c2
-rw-r--r--ext/raw1394/gstdv1394src.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/raw1394/gst1394.c b/ext/raw1394/gst1394.c
index 68a6431e..687402ef 100644
--- a/ext/raw1394/gst1394.c
+++ b/ext/raw1394/gst1394.c
@@ -39,7 +39,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
{
GstElementFactory *factory;
- factory = gst_elementfactory_new("dv1394src",GST_TYPE_DV1394SRC,
+ factory = gst_element_factory_new("dv1394src",GST_TYPE_DV1394SRC,
&gst_dv1394src_details);
g_return_val_if_fail(factory != NULL, FALSE);
diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c
index 66702b97..b096f348 100644
--- a/ext/raw1394/gstdv1394src.c
+++ b/ext/raw1394/gstdv1394src.c
@@ -37,7 +37,7 @@ gst_dv1394src_factory (void)
static GstPadTemplate *template = NULL;
if (!template) {
- template = gst_padtemplate_new (
+ template = gst_pad_template_new (
"src",
GST_PAD_SRC,
GST_PAD_ALWAYS,