projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43abf99
)
tests: fix unit test
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 12 Mar 2012 09:41:28 +0000
(10:41 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 12 Mar 2012 09:41:28 +0000
(10:41 +0100)
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
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstpad.c
b/tests/check/gst/gstpad.c
index
06dde34
..
cb5ef36
100644
(file)
--- 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);