[0.11] gstreamer: collectpads2: Fix unit test to actually work again

Sebastian Dröge slomo at kemper.freedesktop.org
Thu Jan 26 02:41:08 PST 2012


Module: gstreamer
Branch: 0.11
Commit: ded86f716d18ade5340b8c171feb238fea1c4e50
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=ded86f716d18ade5340b8c171feb238fea1c4e50

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Thu Jan 26 11:40:53 2012 +0100

collectpads2: Fix unit test to actually work again

---

 tests/check/libs/collectpads2.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tests/check/libs/collectpads2.c b/tests/check/libs/collectpads2.c
index 97e7f5b..2a04aa2 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;



More information about the gstreamer-commits mailing list