From 4167e70050e47bbcdfececfaf1a90bf8ba433ebe Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 25 May 2001 10:43:34 +0000 Subject: [PATCH] Small fixes to various test apps. Original commit message from CVS: Small fixes to various test apps. --- test/avi2mpg.c | 2 +- test/dvshow.c | 2 +- test/fake.c | 2 +- test/videotest2.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/avi2mpg.c b/test/avi2mpg.c index 8661629821..1d64a9ab9f 100644 --- a/test/avi2mpg.c +++ b/test/avi2mpg.c @@ -141,7 +141,7 @@ int main(int argc,char *argv[]) { g_return_val_if_fail(src != NULL, -1); gtk_object_set(GTK_OBJECT(src),"location",argv[1],NULL); g_print("should be using file '%s'\n",argv[1]); - parse = gst_elementfactory_make("parseavi","parse"); + parse = gst_elementfactory_make("avidecoder","parse"); g_return_val_if_fail(parse != NULL, -1); mux = gst_elementfactory_make("system_encode","mux"); diff --git a/test/dvshow.c b/test/dvshow.c index 0e3d2f734e..e28ba5e990 100644 --- a/test/dvshow.c +++ b/test/dvshow.c @@ -29,7 +29,7 @@ main (int argc,char *argv[]) gnome_init("Videotest","0.0.1",argc,argv); - bin = gst_bin_new("bin"); + bin = gst_pipeline_new("pipeline"); if (argc == 1) { src = gst_elementfactory_make ("dv1394src", "src"); diff --git a/test/fake.c b/test/fake.c index d24efa9de7..ec1a8c706e 100644 --- a/test/fake.c +++ b/test/fake.c @@ -10,7 +10,7 @@ int main(int argc,char *argv[]) { // _gst_plugin_spew = TRUE; gst_init(&argc,&argv); - bin = gst_bin_new("bin"); + bin = gst_pipeline_new("pipeline"); g_return_if_fail(bin != NULL); g_print("--- creating src and sink elements\n"); diff --git a/test/videotest2.c b/test/videotest2.c index c830cc8ff2..0f69f44d10 100644 --- a/test/videotest2.c +++ b/test/videotest2.c @@ -27,7 +27,7 @@ main (int argc,char *argv[]) gnome_init("Videotest","0.0.1",argc,argv); - bin = gst_bin_new("bin"); + bin = gst_pipeline_new("pipeline"); src = gst_elementfactory_make ("v4lsrc", "src"); gtk_object_set(GTK_OBJECT(src),"format",9,NULL);