gst1: Use Gst.CLOCK_TIME_NONE to block for state changes in tests
This commit is contained in:
parent
da19c8be56
commit
3792b8c900
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user