diff options
author | Andy Wingo <wingo@pobox.com> | 2002-04-11 20:42:25 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-04-11 20:42:25 +0000 |
commit | 3a9c675a6819ecd54c84d1810b7abe055fde3864 (patch) | |
tree | 8a98875ab1b8a5e21eb0df5e707d14fce8687eb6 /examples | |
parent | 18c6c04fdcc76ee66884a65c4bc7f6ce48d4398e (diff) | |
download | gstreamer-plugins-good-3a9c675a6819ecd54c84d1810b7abe055fde3864.tar.gz |
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 'examples')
-rw-r--r-- | examples/capsfilter/capsfilter1.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/capsfilter/capsfilter1.c b/examples/capsfilter/capsfilter1.c index ab6f4a091..35e20469f 100644 --- a/examples/capsfilter/capsfilter1.c +++ b/examples/capsfilter/capsfilter1.c @@ -39,20 +39,20 @@ main (gint argc, gchar *argv[]) } pipeline = gst_pipeline_new ("main_pipeline"); - filesrc = gst_elementfactory_make ("filesrc", "filesrc"); + filesrc = gst_element_factory_make ("filesrc", "filesrc"); g_return_val_if_fail (filesrc, -1); g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL); - demux = gst_elementfactory_make ("mpegdemux", "demux"); + demux = gst_element_factory_make ("mpegdemux", "demux"); g_return_val_if_fail (demux, -1); g_signal_connect (G_OBJECT (demux), "new_pad", G_CALLBACK (new_pad_func), pipeline); thread = gst_thread_new ("thread"); - queue = gst_elementfactory_make ("queue", "queue"); - mpeg2dec = gst_elementfactory_make ("mpeg2dec", "mpeg2dec"); + queue = gst_element_factory_make ("queue", "queue"); + mpeg2dec = gst_element_factory_make ("mpeg2dec", "mpeg2dec"); g_return_val_if_fail (mpeg2dec, -1); - colorspace = gst_elementfactory_make ("colorspace", "colorspace"); + colorspace = gst_element_factory_make ("colorspace", "colorspace"); g_return_val_if_fail (colorspace, -1); - xvideosink = gst_elementfactory_make ("xvideosink", "xvideosink"); + xvideosink = gst_element_factory_make ("xvideosink", "xvideosink"); g_return_val_if_fail (xvideosink, -1); g_object_set (G_OBJECT (xvideosink), "toplevel", TRUE, NULL); |