[pitivi] mediafilespreviewer: Update the preview widget slider on a more frequent basis



commit b3be4935bffdd1e202ca09ac4222ef80f47f64e1
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Thu Jan 31 15:19:32 2013 -0500

    mediafilespreviewer: Update the preview widget slider on a more frequent basis
    
    This makes the previewer feel a bit snappier

 pitivi/mediafilespreviewer.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/mediafilespreviewer.py b/pitivi/mediafilespreviewer.py
index 725c4bf..7acf423 100644
--- a/pitivi/mediafilespreviewer.py
+++ b/pitivi/mediafilespreviewer.py
@@ -266,8 +266,7 @@ class PreviewWidget(Gtk.VBox, Loggable):
         self.player.set_state(Gst.State.PLAYING)
         self.is_playing = True
         self.play_button.set_stock_id(Gtk.STOCK_MEDIA_PAUSE)
-        #Make sure position is updated regularly
-        GObject.timeout_add(500, self._update_position)
+        GObject.timeout_add(250, self._update_position)
         self.debug("Preview started")
 
     def pause(self):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]