diff options
author | Andy Wingo <wingo@pobox.com> | 2002-04-11 20:42:26 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-04-11 20:42:26 +0000 |
commit | 06d94641c271dc846e335104ac61beab38445c4a (patch) | |
tree | cd066b7966e619ab2c31e6fdf43d584be29c0e90 /sys | |
parent | 8c43b5fd9b38cf9c55e5c148c985cd1b8731b5b7 (diff) | |
download | gst-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')
-rw-r--r-- | sys/dxr3/gstdxr3.c | 4 | ||||
-rw-r--r-- | sys/dxr3/gstdxr3videosink.c | 2 | ||||
-rw-r--r-- | sys/dxr3/gstdxr3videosink.h | 2 | ||||
-rw-r--r-- | sys/qcam/gstqcamsrc.c | 10 | ||||
-rw-r--r-- | sys/vcd/vcdsrc.c | 2 |
5 files changed, 10 insertions, 10 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, diff --git a/sys/qcam/gstqcamsrc.c b/sys/qcam/gstqcamsrc.c index e2a616b5..f9ce9b7e 100644 --- a/sys/qcam/gstqcamsrc.c +++ b/sys/qcam/gstqcamsrc.c @@ -54,7 +54,7 @@ gst_qcamsrc_details = #define DEF_PORT 0x378 #define DEF_AUTOEXP AE_NONE -GST_PADTEMPLATE_FACTORY (gst_qcamsrc_src_factory, +GST_PAD_TEMPLATE_FACTORY (gst_qcamsrc_src_factory, "src", GST_PAD_SRC, GST_PAD_ALWAYS, @@ -201,7 +201,7 @@ static void gst_qcamsrc_init (GstQCamSrc *qcamsrc) { qcamsrc->srcpad = gst_pad_new_from_template ( - GST_PADTEMPLATE_GET (gst_qcamsrc_src_factory), "src"); + GST_PAD_TEMPLATE_GET (gst_qcamsrc_src_factory), "src"); gst_element_add_pad(GST_ELEMENT(qcamsrc),qcamsrc->srcpad); gst_pad_set_get_function (qcamsrc->srcpad,gst_qcamsrc_get); @@ -423,12 +423,12 @@ plugin_init (GModule *module, GstPlugin *plugin) GstElementFactory *factory; /* create an elementfactory for the qcamsrcparse element */ - factory = gst_elementfactory_new("qcamsrc",GST_TYPE_QCAMSRC, + factory = gst_element_factory_new("qcamsrc",GST_TYPE_QCAMSRC, &gst_qcamsrc_details); g_return_val_if_fail(factory != NULL, FALSE); - gst_elementfactory_add_padtemplate (factory, - GST_PADTEMPLATE_GET (gst_qcamsrc_src_factory)); + gst_element_factory_add_pad_template (factory, + GST_PAD_TEMPLATE_GET (gst_qcamsrc_src_factory)); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); diff --git a/sys/vcd/vcdsrc.c b/sys/vcd/vcdsrc.c index 47305878..d69f07a1 100644 --- a/sys/vcd/vcdsrc.c +++ b/sys/vcd/vcdsrc.c @@ -380,7 +380,7 @@ plugin_init (GModule *module, GstPlugin *plugin) GstElementFactory *factory; /* create an elementfactory for the vcdsrc element */ - factory = gst_elementfactory_new("vcdsrc",GST_TYPE_VCDSRC, + factory = gst_element_factory_new("vcdsrc",GST_TYPE_VCDSRC, &vcdsrc_details); g_return_val_if_fail(factory != NULL, FALSE); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); |