mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
collectpads2: Fix unit test to actually work again
This commit is contained in:
parent
0ff349fb38
commit
ded86f716d
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue