check/gst/gstevent.c: Er, don't call gst_bin_watch_for_state_change you idiot.
authorJan Schmidt <thaytan@mad.scientist.com>
Sun, 21 Aug 2005 11:40:44 +0000 (11:40 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Sun, 21 Aug 2005 11:40:44 +0000 (11:40 +0000)
Original commit message from CVS:
* check/gst/gstevent.c: (event_probe), (test_event),
(GST_START_TEST):
Er, don't call gst_bin_watch_for_state_change you idiot.

ChangeLog
check/gst/gstevent.c
common
tests/check/gst/gstevent.c

index 7f99051..9039d28 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
 
+       * check/gst/gstevent.c: (event_probe), (test_event),
+       (GST_START_TEST):
+        Er, don't call gst_bin_watch_for_state_change you idiot.
+
+2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
+
        * check/Makefile.am:
          Use CHECK_CFLAGS and CHECK_LIBS
        * check/gst/gstevent.c: (event_probe), (test_event),
index 4d2c73e..616a393 100644 (file)
@@ -366,7 +366,7 @@ GST_START_TEST (send_custom_events)
       G_GINT64_FORMAT " us", timediff (&got_event_time, &sent_event_time));
 
   gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL);
-  gst_bin_watch_for_state_change (GST_BIN (pipeline));
+  gst_element_get_state (GST_ELEMENT (pipeline), NULL, NULL, NULL);
 
   gst_object_unref (pipeline);
 }
diff --git a/common b/common
index c6ca073..609c771 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit c6ca0735235764a88cb0744eb2c039e961e061ab
+Subproject commit 609c7716bab17e1dc086d3b54b51740300ec6f0f
index 4d2c73e..616a393 100644 (file)
@@ -366,7 +366,7 @@ GST_START_TEST (send_custom_events)
       G_GINT64_FORMAT " us", timediff (&got_event_time, &sent_event_time));
 
   gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL);
-  gst_bin_watch_for_state_change (GST_BIN (pipeline));
+  gst_element_get_state (GST_ELEMENT (pipeline), NULL, NULL, NULL);
 
   gst_object_unref (pipeline);
 }