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 /gst/spectrum/demo-osssrc.c | |
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 'gst/spectrum/demo-osssrc.c')
-rw-r--r-- | gst/spectrum/demo-osssrc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/spectrum/demo-osssrc.c b/gst/spectrum/demo-osssrc.c index e3f6552c..397b559b 100644 --- a/gst/spectrum/demo-osssrc.c +++ b/gst/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); |