summaryrefslogtreecommitdiffstats
path: root/sys/dxr3
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dxr3')
-rw-r--r--sys/dxr3/gstdxr3.c4
-rw-r--r--sys/dxr3/gstdxr3videosink.c2
-rw-r--r--sys/dxr3/gstdxr3videosink.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/dxr3/gstdxr3.c b/sys/dxr3/gstdxr3.c
index fe26560d..23058a29 100644
--- a/sys/dxr3/gstdxr3.c
+++ b/sys/dxr3/gstdxr3.c
@@ -16,10 +16,10 @@ plugin_init (GModule *module, GstPlugin *plugin)
{
GstElementFactory *video_factory;
- video_factory = gst_elementfactory_new("dxr3videosink", GST_TYPE_DXR3_VIDEO_SINK, &dxr3_video_sink_details);
+ video_factory = gst_element_factory_new("dxr3videosink", GST_TYPE_DXR3_VIDEO_SINK, &dxr3_video_sink_details);
g_return_val_if_fail(video_factory != NULL, FALSE);
- gst_elementfactory_add_padtemplate (video_factory, GST_PADTEMPLATE_GET (dxr3_video_sink_factory));
+ gst_element_factory_add_pad_template (video_factory, GST_PAD_TEMPLATE_GET (dxr3_video_sink_factory));
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (video_factory));
diff --git a/sys/dxr3/gstdxr3videosink.c b/sys/dxr3/gstdxr3videosink.c
index 24dbed39..d760f9de 100644
--- a/sys/dxr3/gstdxr3videosink.c
+++ b/sys/dxr3/gstdxr3videosink.c
@@ -176,7 +176,7 @@ static void
gst_dxr3_video_sink_init(GstDxr3VideoSink *dxr3_video_sink)
{
dxr3_video_sink->sinkpad = gst_pad_new_from_template (
- GST_PADTEMPLATE_GET (dxr3_video_sink_factory), "video_sink");
+ GST_PAD_TEMPLATE_GET (dxr3_video_sink_factory), "video_sink");
gst_pad_set_chain_function(dxr3_video_sink->sinkpad, gst_dxr3_video_sink_chain);
gst_element_add_pad(GST_ELEMENT(dxr3_video_sink),dxr3_video_sink->sinkpad);
diff --git a/sys/dxr3/gstdxr3videosink.h b/sys/dxr3/gstdxr3videosink.h
index 48adfc84..3933329e 100644
--- a/sys/dxr3/gstdxr3videosink.h
+++ b/sys/dxr3/gstdxr3videosink.h
@@ -69,7 +69,7 @@ struct _GstDxr3VideoSinkClass {
GType gst_dxr3_video_sink_get_type(void);
-GST_PADTEMPLATE_FACTORY (dxr3_video_sink_factory,
+GST_PAD_TEMPLATE_FACTORY (dxr3_video_sink_factory,
"sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,