gst1: Use Gst.CLOCK_TIME_NONE to block for state changes in tests

This commit is contained in:
Stein Magnus Jodal 2015-10-27 22:00:59 +01:00
parent da19c8be56
commit 3792b8c900

View File

@ -694,7 +694,7 @@ class Audio(pykka.ThreadingActor):
Should only be used by tests.
"""
self._playbin.get_state(timeout=1)
self._playbin.get_state(timeout=Gst.CLOCK_TIME_NONE)
def enable_sync_handler(self):
"""Enable manual processing of messages from bus.