tests: fix unit test

with the new caps API, there is more sharing and less copying going on so the
unit test refcounts are different.
This commit is contained in:
Wim Taymans 2012-03-12 10:41:28 +01:00
parent 43abf99a8a
commit 6886be59f5

View file

@ -200,7 +200,7 @@ GST_START_TEST (test_get_allowed_caps)
fail_if (gotcaps == NULL);
fail_unless (gst_caps_is_equal (gotcaps, caps));
ASSERT_CAPS_REFCOUNT (gotcaps, "gotcaps", 1);
ASSERT_CAPS_REFCOUNT (gotcaps, "gotcaps", 4);
gst_caps_unref (gotcaps);
gst_pad_unlink (src, sink);