[pitivi] viewer: set ViewerWidget's "sink" var on pipeline change



commit 929e3052ce28d4e4dff266393e83dfb5c4b1ae43
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Wed Sep 25 15:42:51 2013 -0400

    viewer: set ViewerWidget's "sink" var on pipeline change
    
    This variable was pretty much never set to anything other than None,
    and we were somehow relying on it not being None...

 pitivi/viewer.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index e5e4192..86c0206 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -143,6 +143,7 @@ class PitiviViewer(Gtk.VBox, Loggable):
             self.pipeline.connect("duration-changed", self._durationChangedCb)
 
         self.sink = pipeline.video_overlay
+        self.target.sink = self.sink
         self._switch_output_window()
         self._setUiActive()
 


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