Fixed the helloworld example by using a pipeline as the toplevel element.
authorWim Taymans <wim.taymans@gmail.com>
Sat, 2 Jun 2001 16:38:58 +0000 (16:38 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 2 Jun 2001 16:38:58 +0000 (16:38 +0000)
Original commit message from CVS:
Fixed the helloworld example by using a pipeline as the toplevel element.

examples/helloworld/helloworld.c
tests/old/examples/helloworld/helloworld.c

index e01e137..9e3f93e 100644 (file)
@@ -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");
index e01e137..9e3f93e 100644 (file)
@@ -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");