From 3792b8c9006b91ef61fd6da5dfb1e482857108c8 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 27 Oct 2015 22:00:59 +0100 Subject: [PATCH] gst1: Use Gst.CLOCK_TIME_NONE to block for state changes in tests --- 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 5506475d..5beb840a 100644 --- a/mopidy/audio/actor.py +++ b/mopidy/audio/actor.py @@ -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.