summaryrefslogtreecommitdiff
blob: e01456f425a6667b426153eb07e0ce644de76b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -urNp pitivi-0.13.5.old/pitivi/factories/base.py pitivi-0.13.5/pitivi/factories/base.py
--- pitivi-0.13.5.old/pitivi/factories/base.py	2011-01-30 16:40:27.672000221 +0530
+++ pitivi-0.13.5/pitivi/factories/base.py	2011-01-30 16:41:12.784000223 +0530
@@ -421,7 +421,11 @@ class SourceFactory(ObjectFactory):
                 b.csp = gst.element_factory_make("identity")
 
             b.alpha = gst.element_factory_make("alpha", "internal-alpha")
-            b.alpha.props.prefer_passthrough = True
+            try:
+                b.alpha.props.prefer_passthrough = True
+            except AttributeError:
+                self.warning("User has old version of alpha. "
+                        "prefer-passthrough not enabled")
             b.scale = gst.element_factory_make("videoscale")
             try:
                 b.scale.props.add_borders = True