From 6c9e2d4d3465470fb834870aadfcd76504e939b5 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 2 Sep 2015 02:33:58 +0200 Subject: [PATCH] gst1: Add timeout to get_state() --- mopidy/audio/actor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/audio/actor.py b/mopidy/audio/actor.py index 92e6ceb2..3d6284bc 100644 --- a/mopidy/audio/actor.py +++ b/mopidy/audio/actor.py @@ -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.