check/generic/states.c: Add a sleep to ensure elements have a chance to start their...
authorJan Schmidt <thaytan@mad.scientist.com>
Tue, 20 Sep 2005 00:27:37 +0000 (00:27 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Tue, 20 Sep 2005 00:27:37 +0000 (00:27 +0000)
commitb2e01db401e10c3b431d5d849c90d6c97093390a
tree6ba97061966782716d7295f53869b20e4900ca1c
parent4c3e9eba9a0e1b01c755970ab75e620704116f9d
check/generic/states.c: Add a sleep to ensure elements have a chance to start their pad tasks before shutdown. Reduce...

Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST), (states_suite):
Add a sleep to ensure elements have a chance to start their
pad tasks before shutdown. Reduces racy test results.

* gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
Time out the select every now and then to check for shutdown.
check/generic/states.c
common
gst/elements/gstfdsrc.c
plugins/elements/gstfdsrc.c
tests/check/generic/states.c