summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-02-29 23:33:03 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-02-29 23:33:03 +0200
commit82e529cea5bafc35d67af3fa7aee77ebed9ce7e2 (patch)
tree6b4d061aa0b2491181b8d4074dd2e4f484209aba /tests
parent90b1b1dd9670085a9bb13be488b3473d3c9b455e (diff)
Revert "bus: change GstBusSource to hold a weak ref to GstBus"
Diffstat (limited to 'tests')
-rw-r--r--tests/check/gst/gstpipeline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/gst/gstpipeline.c b/tests/check/gst/gstpipeline.c
index 68a21a91e..d186bc7f0 100644
--- a/tests/check/gst/gstpipeline.c
+++ b/tests/check/gst/gstpipeline.c
@@ -200,7 +200,7 @@ GST_START_TEST (test_bus)
id = gst_bus_add_watch (bus, message_received, pipeline);
ASSERT_OBJECT_REFCOUNT (pipeline, "pipeline after add_watch", 1);
- ASSERT_OBJECT_REFCOUNT (bus, "bus after add_watch", 2);
+ ASSERT_OBJECT_REFCOUNT (bus, "bus after add_watch", 3);
ret = gst_element_set_state (pipeline, GST_STATE_PLAYING);
fail_unless (ret == GST_STATE_CHANGE_ASYNC);
@@ -225,7 +225,7 @@ GST_START_TEST (test_bus)
fail_unless (current == GST_STATE_NULL, "state is not NULL but %d", current);
ASSERT_OBJECT_REFCOUNT (pipeline, "pipeline at start of cleanup", 1);
- ASSERT_OBJECT_REFCOUNT (bus, "bus at start of cleanup", 2);
+ ASSERT_OBJECT_REFCOUNT (bus, "bus at start of cleanup", 3);
fail_unless (g_source_remove (id));
ASSERT_OBJECT_REFCOUNT (bus, "bus after removing source", 2);