check/gst/gstevent.c: Er, don't call gst_bin_watch_for_state_change you idiot.

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.
This commit is contained in:
Jan Schmidt 2005-08-21 11:40:44 +00:00
parent 0e82146e05
commit 080b848ffb
4 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
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:

View 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);
}

2
common

@ -1 +1 @@
Subproject commit c6ca0735235764a88cb0744eb2c039e961e061ab
Subproject commit 609c7716bab17e1dc086d3b54b51740300ec6f0f

View 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);
}