summaryrefslogtreecommitdiffstats
path: root/sys/dxr3
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 /sys/dxr3
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 '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,