From 978c380731c7bae758ad1aae70ff29829e480102 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 2 Jun 2001 16:38:58 +0000 Subject: [PATCH] Fixed the helloworld example by using a pipeline as the toplevel element. Original commit message from CVS: Fixed the helloworld example by using a pipeline as the toplevel element. --- examples/helloworld/helloworld.c | 2 +- tests/old/examples/helloworld/helloworld.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/helloworld/helloworld.c b/examples/helloworld/helloworld.c index e01e1371d5..9e3f93e783 100644 --- a/examples/helloworld/helloworld.c +++ b/examples/helloworld/helloworld.c @@ -23,7 +23,7 @@ int main(int argc,char *argv[]) } /* create a new bin to hold the elements */ - bin = gst_bin_new("bin"); + bin = gst_pipeline_new("pipeline"); /* create a disk reader */ disksrc = gst_elementfactory_make("disksrc", "disk_source"); diff --git a/tests/old/examples/helloworld/helloworld.c b/tests/old/examples/helloworld/helloworld.c index e01e1371d5..9e3f93e783 100644 --- a/tests/old/examples/helloworld/helloworld.c +++ b/tests/old/examples/helloworld/helloworld.c @@ -23,7 +23,7 @@ int main(int argc,char *argv[]) } /* create a new bin to hold the elements */ - bin = gst_bin_new("bin"); + bin = gst_pipeline_new("pipeline"); /* create a disk reader */ disksrc = gst_elementfactory_make("disksrc", "disk_source");