mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
testsuite/test_message.py: GstBus is flushing in NULL, so we need to set the pipeline to READY in order to receive th...
Original commit message from CVS: * testsuite/test_message.py: GstBus is flushing in NULL, so we need to set the pipeline to READY in order to receive the messages in the bus watch.
This commit is contained in:
parent
b3fb726a67
commit
5b30271cd3
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-04-05 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
|
* testsuite/test_message.py:
|
||||||
|
GstBus is flushing in NULL, so we need to set the pipeline to READY in
|
||||||
|
order to receive the messages in the bus watch.
|
||||||
|
|
||||||
2006-04-05 Andy Wingo <wingo@pobox.com>
|
2006-04-05 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
* configure.ac (PYGST_MICRO_VERSION): Doc fix.
|
* configure.ac (PYGST_MICRO_VERSION): Doc fix.
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit cbedff4d5f090d43fdeaa189748a6651f2c6a07f
|
Subproject commit 623fe1c2cce45bc30d5823c05716349874ae994e
|
|
@ -46,9 +46,12 @@ class NewTest(TestCase):
|
||||||
|
|
||||||
struc = gst.Structure("foo")
|
struc = gst.Structure("foo")
|
||||||
msg = gst.message_new_application(bin, struc)
|
msg = gst.message_new_application(bin, struc)
|
||||||
|
# the bus is flushing in NULL, so we need to set the pipeline to READY
|
||||||
|
bin.set_state(gst.STATE_READY)
|
||||||
bus.post(msg)
|
bus.post(msg)
|
||||||
self.loop.run()
|
self.loop.run()
|
||||||
bus.remove_signal_watch()
|
bus.remove_signal_watch()
|
||||||
|
bin.set_state(gst.STATE_NULL)
|
||||||
self.failUnless(self.got_message == True)
|
self.failUnless(self.got_message == True)
|
||||||
self.gccollect()
|
self.gccollect()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue