diff --git a/examples/autoplug/autoplug.c b/examples/autoplug/autoplug.c index ce3b00eadf..091508e352 100644 --- a/examples/autoplug/autoplug.c +++ b/examples/autoplug/autoplug.c @@ -73,7 +73,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"); g_assert(bin != NULL); /* create a disk reader */ diff --git a/tests/old/examples/autoplug/autoplug.c b/tests/old/examples/autoplug/autoplug.c index ce3b00eadf..091508e352 100644 --- a/tests/old/examples/autoplug/autoplug.c +++ b/tests/old/examples/autoplug/autoplug.c @@ -73,7 +73,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"); g_assert(bin != NULL); /* create a disk reader */