check/states/sinks.c: Have to check for completion now...

Original commit message from CVS:
* check/states/sinks.c: (START_TEST), (gst_object_suite):
Have to check for completion now...
This commit is contained in:
Wim Taymans 2005-06-25 19:14:51 +00:00
parent 613dc3d631
commit 849bfaf419
3 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,17 @@
2005-06-25 Wim Taymans <wim@fluendo.com>
* check/states/sinks.c: (START_TEST), (gst_object_suite):
Have to check for completion now...
2005-06-25 Wim Taymans <wim@fluendo.com>
* gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
(gst_basesink_handle_object), (gst_basesink_event),
(gst_basesink_do_sync), (gst_basesink_handle_event),
(gst_basesink_change_state):
* gst/gstpad.h:
Unlock STREAM_LOCK whatever the recursion was.
2005-06-25 Wim Taymans <wim@fluendo.com> 2005-06-25 Wim Taymans <wim@fluendo.com>
* gst/base/gstbasesink.c: (gst_basesink_set_property), * gst/base/gstbasesink.c: (gst_basesink_set_property),

View file

@ -67,6 +67,7 @@ START_TEST (test_src_sink)
gst_object_unref (GST_OBJECT (sinkpad)); gst_object_unref (GST_OBJECT (sinkpad));
ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); ret = gst_element_set_state (pipeline, GST_STATE_PAUSED);
ret = gst_element_get_state (pipeline, NULL, NULL, NULL);
fail_unless (ret == GST_STATE_SUCCESS, "no success state return"); fail_unless (ret == GST_STATE_SUCCESS, "no success state return");
ret = gst_element_set_state (pipeline, GST_STATE_PLAYING); ret = gst_element_set_state (pipeline, GST_STATE_PLAYING);

View file

@ -67,6 +67,7 @@ START_TEST (test_src_sink)
gst_object_unref (GST_OBJECT (sinkpad)); gst_object_unref (GST_OBJECT (sinkpad));
ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); ret = gst_element_set_state (pipeline, GST_STATE_PAUSED);
ret = gst_element_get_state (pipeline, NULL, NULL, NULL);
fail_unless (ret == GST_STATE_SUCCESS, "no success state return"); fail_unless (ret == GST_STATE_SUCCESS, "no success state return");
ret = gst_element_set_state (pipeline, GST_STATE_PLAYING); ret = gst_element_set_state (pipeline, GST_STATE_PLAYING);