From: | "Arun Raghavan (ford_prefect)" <ford_prefect@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/pitivi/files: pitivi-0.13.5-work-with-old-good.patch |
Date: | Mon, 31 Jan 2011 06:12:10 |
Message-Id: | 20110131061200.814DC20057@flycatcher.gentoo.org |
1 | ford_prefect 11/01/31 06:12:00 |
2 | |
3 | Added: pitivi-0.13.5-work-with-old-good.patch |
4 | Log: |
5 | Bump to 0.13.5. Lots of enhancements and bug fixes. |
6 | |
7 | (Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-video/pitivi/files/pitivi-0.13.5-work-with-old-good.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pitivi/files/pitivi-0.13.5-work-with-old-good.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pitivi/files/pitivi-0.13.5-work-with-old-good.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: pitivi-0.13.5-work-with-old-good.patch |
16 | =================================================================== |
17 | diff -urNp pitivi-0.13.5.old/pitivi/factories/base.py pitivi-0.13.5/pitivi/factories/base.py |
18 | --- pitivi-0.13.5.old/pitivi/factories/base.py 2011-01-30 16:40:27.672000221 +0530 |
19 | +++ pitivi-0.13.5/pitivi/factories/base.py 2011-01-30 16:41:12.784000223 +0530 |
20 | @@ -421,7 +421,11 @@ class SourceFactory(ObjectFactory): |
21 | b.csp = gst.element_factory_make("identity") |
22 | |
23 | b.alpha = gst.element_factory_make("alpha", "internal-alpha") |
24 | - b.alpha.props.prefer_passthrough = True |
25 | + try: |
26 | + b.alpha.props.prefer_passthrough = True |
27 | + except AttributeError: |
28 | + self.warning("User has old version of alpha. " |
29 | + "prefer-passthrough not enabled") |
30 | b.scale = gst.element_factory_make("videoscale") |
31 | try: |
32 | b.scale.props.add_borders = True |