gst1: Add timeout to get_state()
This commit is contained in:
parent
8a846b8605
commit
6c9e2d4d34
@ -683,7 +683,7 @@ class Audio(pykka.ThreadingActor):
|
||||
|
||||
Should only be used by tests.
|
||||
"""
|
||||
self._playbin.get_state()
|
||||
self._playbin.get_state(timeout=1)
|
||||
|
||||
def enable_sync_handler(self):
|
||||
"""Enable manual processing of messages from bus.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user