summaryrefslogtreecommitdiffstats
path: root/tests/examples
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-04-11 20:42:25 +0000
committerAndy Wingo <wingo@pobox.com>2002-04-11 20:42:25 +0000
commit3a9c675a6819ecd54c84d1810b7abe055fde3864 (patch)
tree8a98875ab1b8a5e21eb0df5e707d14fce8687eb6 /tests/examples
parent18c6c04fdcc76ee66884a65c4bc7f6ce48d4398e (diff)
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 'tests/examples')
-rw-r--r--tests/examples/spectrum/demo-osssrc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/examples/spectrum/demo-osssrc.c b/tests/examples/spectrum/demo-osssrc.c
index e3f6552c..397b559b 100644
--- a/tests/examples/spectrum/demo-osssrc.c
+++ b/tests/examples/spectrum/demo-osssrc.c
@@ -25,12 +25,12 @@ int main(int argc,char *argv[]) {
bin = gst_bin_new("bin");
- srcfactory = gst_elementfactory_find("osssrc");
- spectrumfactory = gst_elementfactory_find("gstspectrum");
+ srcfactory = gst_element_factory_find("osssrc");
+ spectrumfactory = gst_element_factory_find("gstspectrum");
- src = gst_elementfactory_create(srcfactory,"src");
+ src = gst_element_factory_create(srcfactory,"src");
gtk_object_set(GTK_OBJECT(src),"bytes_per_read",(gulong)1024,NULL);
- spectrum = gst_elementfactory_create(spectrumfactory,"spectrum");
+ spectrum = gst_element_factory_create(spectrumfactory,"spectrum");
gtk_object_set(GTK_OBJECT(spectrum),"width",256,NULL);