From: Wim Taymans Date: Sat, 2 Jun 2001 16:38:58 +0000 (+0000) Subject: Fixed the helloworld example by using a pipeline as the toplevel element. X-Git-Tag: BRANCH-GOBJECT1-ROOT~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=978c380731c7bae758ad1aae70ff29829e480102;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/examples/helloworld/helloworld.c b/examples/helloworld/helloworld.c index e01e137..9e3f93e 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 e01e137..9e3f93e 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");