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.
This commit is contained in:
Wim Taymans 2001-06-02 16:38:58 +00:00
parent 528d8c273b
commit 978c380731
2 changed files with 2 additions and 2 deletions

View 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");

View 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");