From 5313fb986a5d32a4c31603af68766bf04f3f88d3 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 28 Jul 2004 16:22:53 +0000 Subject: no need to link in setup stage Original commit message from CVS: no need to link in setup stage --- gst-libs/gst/play/play.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst-libs/gst') diff --git a/gst-libs/gst/play/play.c b/gst-libs/gst/play/play.c index 5b3d03ed..bb41bd24 100644 --- a/gst-libs/gst/play/play.c +++ b/gst-libs/gst/play/play.c @@ -235,7 +235,7 @@ gst_play_pipeline_setup (GstPlay * play, GError ** error) } g_hash_table_insert (play->priv->elements, "identity_cs", identity_cs); gst_bin_add_many (GST_BIN (output_bin), identity, identity_cs, NULL); - if (!gst_element_link_many (autoplugger, identity, identity_cs, NULL)) + if (!gst_element_link (identity, identity_cs)) GST_PLAY_ERROR_RETURN (error, "Could not link work thread elements"); /* we ref the output bin so we can put it in and out the work_thread * whenever we want */ -- cgit v1.2.1