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 /gst/smoothwave/demo-osssrc.c | |
parent | 18c6c04fdcc76ee66884a65c4bc7f6ce48d4398e (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 'gst/smoothwave/demo-osssrc.c')
-rw-r--r-- | gst/smoothwave/demo-osssrc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/smoothwave/demo-osssrc.c b/gst/smoothwave/demo-osssrc.c index 6f5ee57a..4807a3a4 100644 --- a/gst/smoothwave/demo-osssrc.c +++ b/gst/smoothwave/demo-osssrc.c @@ -24,14 +24,14 @@ int main(int argc,char *argv[]) { bin = gst_bin_new("bin"); - srcfactory = gst_elementfactory_find("audiosrc"); + srcfactory = gst_element_factory_find("audiosrc"); g_return_val_if_fail(srcfactory != NULL, -1); - wavefactory = gst_elementfactory_find("smoothwave"); + wavefactory = gst_element_factory_find("smoothwave"); g_return_val_if_fail(wavefactory != NULL, -1); - src = gst_elementfactory_create(srcfactory,"src"); + src = gst_element_factory_create(srcfactory,"src"); gtk_object_set(GTK_OBJECT(src),"bytes_per_read",(gulong)2048,NULL); - wave = gst_elementfactory_create(wavefactory,"wave"); + wave = gst_element_factory_create(wavefactory,"wave"); gtk_object_set(GTK_OBJECT(wave),"width",256,"height",100,NULL); |