eva         15/05/26 22:38:56

  Added:                pitivi-0.94-unittest.patch
  Log:
  Add support for python3_3 as it works there, raise various dependencies 
according to configure/check.py, fix unittests.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
C6085806)

Revision  Changes    Path
1.1                  media-video/pitivi/files/pitivi-0.94-unittest.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pitivi/files/pitivi-0.94-unittest.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pitivi/files/pitivi-0.94-unittest.patch?rev=1.1&content-type=text/plain

Index: pitivi-0.94-unittest.patch
===================================================================
Allow fallback to a non GL sink for unittests.

--- a/pitivi/utils/pipeline.py  2015-05-25 13:58:33.980916075 +0200
+++ b/pitivi/utils/pipeline.py  2015-05-25 13:57:52.277261138 +0200
@@ -182,6 +182,9 @@
         # Create a cluttersink element used for display. Subclasses must 
connect
         # it to self._pipeline themselves
         self.video_sink = Gst.ElementFactory.make("glimagesink", None)
+        if self.video_sink is None:
+            self.video_sink = Gst.ElementFactory.make("xvimagesink", None)
+
         if isinstance(pipeline, GES.Pipeline):
             self._pipeline.preview_set_video_sink(self.video_sink)
         else:




Reply via email to