collectpads2: Fix unit test to actually work again

This commit is contained in:
Sebastian Dröge 2012-01-26 11:40:53 +01:00
parent 0ff349fb38
commit ded86f716d

View file

@ -110,6 +110,11 @@ setup (void)
fail_unless (gst_pad_link (srcpad1, sinkpad1) == GST_PAD_LINK_OK); fail_unless (gst_pad_link (srcpad1, sinkpad1) == GST_PAD_LINK_OK);
fail_unless (gst_pad_link (srcpad2, sinkpad2) == 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 (); cond = g_cond_new ();
lock = g_mutex_new (); lock = g_mutex_new ();
data1 = NULL; data1 = NULL;