mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
testsuite/test_ghostpad.py: more assertions to figure out an speed issue.
Original commit message from CVS: * testsuite/test_ghostpad.py: more assertions to figure out an speed issue.
This commit is contained in:
parent
8f0143c56e
commit
2afe4a0c32
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-04-07 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* testsuite/test_ghostpad.py:
|
||||
more assertions to figure out an speed issue.
|
||||
|
||||
2006-04-07 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/arg-types.py (GstCapsArg.beforenull): py_caps can be NULL if
|
||||
|
|
|
@ -100,7 +100,7 @@ class PipeTest(TestCase):
|
|||
self.sink.connect_handoff(self._sink_handoff_cb)
|
||||
self._handoffs = 0
|
||||
|
||||
self.pipeline.set_state(gst.STATE_PLAYING)
|
||||
self.assertTrue(self.pipeline.set_state(gst.STATE_PLAYING) != gst.STATE_CHANGE_FAILURE)
|
||||
while True:
|
||||
(ret, cur, pen) = self.pipeline.get_state()
|
||||
if ret == gst.STATE_CHANGE_SUCCESS and cur == gst.STATE_PLAYING:
|
||||
|
@ -109,7 +109,7 @@ class PipeTest(TestCase):
|
|||
while self._handoffs < 10:
|
||||
pass
|
||||
|
||||
self.pipeline.set_state(gst.STATE_NULL)
|
||||
self.assertEquals(self.pipeline.set_state(gst.STATE_NULL), gst.STATE_CHANGE_SUCCESS)
|
||||
while True:
|
||||
(ret, cur, pen) = self.pipeline.get_state()
|
||||
if ret == gst.STATE_CHANGE_SUCCESS and cur == gst.STATE_NULL:
|
||||
|
|
Loading…
Reference in a new issue