From 6886be59f539537037d9dadfba98170122bd249f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 12 Mar 2012 10:41:28 +0100 Subject: [PATCH] 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. --- tests/check/gst/gstpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/gst/gstpad.c b/tests/check/gst/gstpad.c index 06dde34..cb5ef36 100644 --- a/tests/check/gst/gstpad.c +++ b/tests/check/gst/gstpad.c @@ -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); -- 2.7.4