From ded86f716d18ade5340b8c171feb238fea1c4e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 26 Jan 2012 11:40:53 +0100 Subject: [PATCH] collectpads2: Fix unit test to actually work again --- tests/check/libs/collectpads2.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/check/libs/collectpads2.c b/tests/check/libs/collectpads2.c index 97e7f5bd42..2a04aa25fb 100644 --- a/tests/check/libs/collectpads2.c +++ b/tests/check/libs/collectpads2.c @@ -110,6 +110,11 @@ setup (void) fail_unless (gst_pad_link (srcpad1, sinkpad1) == GST_PAD_LINK_OK); fail_unless (gst_pad_link (srcpad2, sinkpad2) == GST_PAD_LINK_OK); + gst_pad_set_active (sinkpad1, TRUE); + gst_pad_set_active (sinkpad2, TRUE); + gst_pad_set_active (srcpad1, TRUE); + gst_pad_set_active (srcpad2, TRUE); + cond = g_cond_new (); lock = g_mutex_new (); data1 = NULL;