checks: fix spurious ghost pad check failure

This commit is contained in:
Tim-Philipp Müller 2010-01-27 00:23:07 +00:00
parent 10287a9c81
commit 712189398c

View file

@ -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);