diff --git a/examples/mixer/mixer.c b/examples/mixer/mixer.c index 029f2689c5..c63b8f71f8 100644 --- a/examples/mixer/mixer.c +++ b/examples/mixer/mixer.c @@ -250,7 +250,8 @@ create_input_channel (int id, char* location) GST_DEBUG (0, "c_i_p : creating pipeline\n"); - channel->pipe = gst_bin_new ("pipeline"); + sprintf (buffer, "pipeline%d", id); + channel->pipe = gst_bin_new (buffer); g_assert(channel->pipe != NULL); /* create elements */ diff --git a/tests/old/examples/mixer/mixer.c b/tests/old/examples/mixer/mixer.c index 029f2689c5..c63b8f71f8 100644 --- a/tests/old/examples/mixer/mixer.c +++ b/tests/old/examples/mixer/mixer.c @@ -250,7 +250,8 @@ create_input_channel (int id, char* location) GST_DEBUG (0, "c_i_p : creating pipeline\n"); - channel->pipe = gst_bin_new ("pipeline"); + sprintf (buffer, "pipeline%d", id); + channel->pipe = gst_bin_new (buffer); g_assert(channel->pipe != NULL); /* create elements */