[gnome-music/wip/merge: 182/343] player: add timeouts correctly
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 182/343] player: add timeouts correctly
- Date: Thu, 25 Jul 2013 11:28:17 +0000 (UTC)
commit f01135f77b0a8402eb8d1ba479183eef5d366948
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Jul 16 18:03:16 2013 +0200
player: add timeouts correctly
gnomemusic/player.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 7843d15..bd803df 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -302,7 +302,7 @@ class Player(GObject.GObject):
self.player.set_state(Gst.State.PLAYING)
self._updatePositionCallback()
if not self.timeout:
- self.timeout = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 1000, self._updatePositionCallback)
+ self.timeout = GLib.timeout_add(1000, self._updatePositionCallback)
#self._dbusImpl.emit_property_changed('PlaybackStatus', GLib.Variant.new('s', 'Playing'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]