[pitivi: 2/4] viewer: stay in sync with the pipeline state.



commit 2229ec080ded33f537de4529db525accee72efc9
Author: Alessandro Decina <alessandro d gmail com>
Date:   Mon May 4 15:02:52 2009 +0200

    viewer: stay in sync with the pipeline state.
    
    Fixes #580962.
---
 pitivi/ui/viewer.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pitivi/ui/viewer.py b/pitivi/ui/viewer.py
index aa12513..c3dfdc2 100644
--- a/pitivi/ui/viewer.py
+++ b/pitivi/ui/viewer.py
@@ -443,6 +443,7 @@ class PitiviViewer(gtk.VBox, Loggable):
             self.playpause_button.setPause()
         elif state == int(gst.STATE_PAUSED):
             self.playpause_button.setPlay()
+        self.currentState = state
 
     def _eosCb(self, unused_pipeline):
         self.playpause_button.setPlay()



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