check/gst/gstbin.c: Remove bogus test.
authorWim Taymans <wim.taymans@gmail.com>
Sun, 17 Jul 2005 22:44:00 +0000 (22:44 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 17 Jul 2005 22:44:00 +0000 (22:44 +0000)
Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
Remove bogus test.

ChangeLog
check/gst/gstbin.c
tests/check/gst/gstbin.c

index 8bc6b59..cf9f020 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-07-18  Wim Taymans  <wim@fluendo.com>
 
+       * check/gst/gstbin.c: (GST_START_TEST):
+       Remove bogus test.
+
+2005-07-18  Wim Taymans  <wim@fluendo.com>
+
        * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
        (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
        (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
index 0f11e5a..dd06499 100644 (file)
@@ -232,10 +232,13 @@ GST_START_TEST (test_message_state_changed_children)
 
   pop_messages (bus, 9);
 
+  /* this test is completely bogus as the refcount can change while running */
+#if 0
   ASSERT_OBJECT_REFCOUNT (bus, "bus", 1);
   ASSERT_OBJECT_REFCOUNT (src, "src", 1);
   ASSERT_OBJECT_REFCOUNT (sink, "sink", 1);
   ASSERT_OBJECT_REFCOUNT (pipeline, "pipeline", 1);
+#endif
 
   /* go back to READY, spawning six messages */
   GST_DEBUG ("setting pipeline to READY");
index 0f11e5a..dd06499 100644 (file)
@@ -232,10 +232,13 @@ GST_START_TEST (test_message_state_changed_children)
 
   pop_messages (bus, 9);
 
+  /* this test is completely bogus as the refcount can change while running */
+#if 0
   ASSERT_OBJECT_REFCOUNT (bus, "bus", 1);
   ASSERT_OBJECT_REFCOUNT (src, "src", 1);
   ASSERT_OBJECT_REFCOUNT (sink, "sink", 1);
   ASSERT_OBJECT_REFCOUNT (pipeline, "pipeline", 1);
+#endif
 
   /* go back to READY, spawning six messages */
   GST_DEBUG ("setting pipeline to READY");