gst1: Add timeout to get_state()

This commit is contained in:
Stein Magnus Jodal 2015-09-02 02:33:58 +02:00
parent 8a846b8605
commit 6c9e2d4d34

View File

@ -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.