summaryrefslogtreecommitdiffstats
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/capsfilter/capsfilter1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/capsfilter/capsfilter1.c b/examples/capsfilter/capsfilter1.c
index ab6f4a09..35e20469 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);