summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/pitivi/files/pitivi-0.94-unittest.patch')
-rw-r--r--media-video/pitivi/files/pitivi-0.94-unittest.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-video/pitivi/files/pitivi-0.94-unittest.patch b/media-video/pitivi/files/pitivi-0.94-unittest.patch
new file mode 100644
index 000000000000..a117d108f48f
--- /dev/null
+++ b/media-video/pitivi/files/pitivi-0.94-unittest.patch
@@ -0,0 +1,14 @@
+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: