From: Wim Taymans Date: Thu, 29 Sep 2005 09:42:15 +0000 (+0000) Subject: check/gst/gstbin.c: Oops. X-Git-Tag: RELEASE-0_9_3~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2441a99b78f50e02d6e00938b156d9b7a8a90ae;p=platform%2Fupstream%2Fgstreamer.git check/gst/gstbin.c: Oops. Original commit message from CVS: * check/gst/gstbin.c: (GST_START_TEST): Oops. --- diff --git a/ChangeLog b/ChangeLog index 04e9e53..38be77d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ 2005-09-29 Wim Taymans * check/gst/gstbin.c: (GST_START_TEST): + Oops. + +2005-09-29 Wim Taymans + + * check/gst/gstbin.c: (GST_START_TEST): Add bus to bin. * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), diff --git a/check/gst/gstbin.c b/check/gst/gstbin.c index c7bedcd..015c51b 100644 --- a/check/gst/gstbin.c +++ b/check/gst/gstbin.c @@ -348,7 +348,7 @@ GST_START_TEST (test_watch_for_state_change) pop_messages (bus, 5); - fail_unless (gst_bus_have_pending (bus) == FALSE, + fail_unless (gst_bus_have_pending (bus, GST_MESSAGE_ANY) == FALSE, "Unexpected messages on bus"); gst_bin_watch_for_state_change (GST_BIN (bin)); @@ -356,7 +356,7 @@ GST_START_TEST (test_watch_for_state_change) /* should get the bin's state change message now */ pop_messages (bus, 1); - fail_unless (gst_bus_have_pending (bus) == FALSE, + fail_unless (gst_bus_have_pending (bus, GST_MESSAGE_ANY) == FALSE, "Unexpected messages on bus"); fail_unless (gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PLAYING) @@ -371,7 +371,7 @@ GST_START_TEST (test_watch_for_state_change) pop_messages (bus, 3); - fail_unless (gst_bus_have_pending (bus) == FALSE, + fail_unless (gst_bus_have_pending (bus, GST_MESSAGE_ANY) == FALSE, "Unexpected messages on bus"); /* setting bin to NULL flushes the bus automatically */ diff --git a/tests/check/gst/gstbin.c b/tests/check/gst/gstbin.c index c7bedcd..015c51b 100644 --- a/tests/check/gst/gstbin.c +++ b/tests/check/gst/gstbin.c @@ -348,7 +348,7 @@ GST_START_TEST (test_watch_for_state_change) pop_messages (bus, 5); - fail_unless (gst_bus_have_pending (bus) == FALSE, + fail_unless (gst_bus_have_pending (bus, GST_MESSAGE_ANY) == FALSE, "Unexpected messages on bus"); gst_bin_watch_for_state_change (GST_BIN (bin)); @@ -356,7 +356,7 @@ GST_START_TEST (test_watch_for_state_change) /* should get the bin's state change message now */ pop_messages (bus, 1); - fail_unless (gst_bus_have_pending (bus) == FALSE, + fail_unless (gst_bus_have_pending (bus, GST_MESSAGE_ANY) == FALSE, "Unexpected messages on bus"); fail_unless (gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PLAYING) @@ -371,7 +371,7 @@ GST_START_TEST (test_watch_for_state_change) pop_messages (bus, 3); - fail_unless (gst_bus_have_pending (bus) == FALSE, + fail_unless (gst_bus_have_pending (bus, GST_MESSAGE_ANY) == FALSE, "Unexpected messages on bus"); /* setting bin to NULL flushes the bus automatically */