From 74cf32ede23890e521e5ea328e5b9e671f13498c Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 2 Sep 2015 00:37:54 +0200 Subject: [PATCH] gst1: Update SEEK_FLAG_* with SeekFlags.* --- 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 bcd424bf..9f880982 100644 --- a/mopidy/audio/actor.py +++ b/mopidy/audio/actor.py @@ -633,7 +633,7 @@ class Audio(pykka.ThreadingActor): # TODO: double check seek flags in use. gst_position = utils.millisecond_to_clocktime(position) result = self._playbin.seek_simple( - Gst.Format(Gst.FORMAT_TIME), Gst.SEEK_FLAG_FLUSH, gst_position) + Gst.Format(Gst.FORMAT_TIME), Gst.SeekFlags.FLUSH, gst_position) gst_logger.debug('Sent flushing seek: position=%s', gst_position) return result