mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 06:52:41 +00:00
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:
parent
43abf99a8a
commit
6886be59f5
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ GST_START_TEST (test_get_allowed_caps)
|
||||||
fail_if (gotcaps == NULL);
|
fail_if (gotcaps == NULL);
|
||||||
fail_unless (gst_caps_is_equal (gotcaps, caps));
|
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_caps_unref (gotcaps);
|
||||||
|
|
||||||
gst_pad_unlink (src, sink);
|
gst_pad_unlink (src, sink);
|
||||||
|
|
Loading…
Reference in a new issue