From 712189398c06f8a9d6b7371b9c118f4665bb77bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 27 Jan 2010 00:23:07 +0000 Subject: [PATCH] checks: fix spurious ghost pad check failure --- tests/check/gst/gstghostpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/gst/gstghostpad.c b/tests/check/gst/gstghostpad.c index ed22e2f926..b78538aaa4 100644 --- a/tests/check/gst/gstghostpad.c +++ b/tests/check/gst/gstghostpad.c @@ -376,7 +376,7 @@ GST_START_TEST (test_ghost_pads) * all pads */ /* wait for thread to settle down */ - while (GST_OBJECT_REFCOUNT_VALUE (fsrc) > 2) + while (GST_OBJECT_REFCOUNT_VALUE (fsrc) > 1) THREAD_SWITCH (); ASSERT_OBJECT_REFCOUNT (fsrc, "fsrc", 1);