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