[pitivi: 1/28] Oops, revert some crap that I committed with be3922
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 1/28] Oops, revert some crap that I committed with be3922
- Date: Mon, 1 Mar 2010 10:57:39 +0000 (UTC)
commit 410cf9b740bbd4c547a1c94096eb6844ea9c358b
Author: Alessandro Decina <alessandro d gmail com>
Date: Thu Feb 25 23:09:15 2010 +0100
Oops, revert some crap that I committed with be3922
pitivi/factories/base.py | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/pitivi/factories/base.py b/pitivi/factories/base.py
index abc3285..3ddbe9f 100644
--- a/pitivi/factories/base.py
+++ b/pitivi/factories/base.py
@@ -385,8 +385,7 @@ class SourceFactory(ObjectFactory):
# if we have an ayuv stream we don't want any colorspace
# converter.
- """
- if not output_stream.has_alpha():
+ if not output_stream.has_alpha():
b.csp = gst.element_factory_make("ffmpegcolorspace",
"internal-colorspace")
elif output_stream.videotype == 'video/x-raw-rgb':
@@ -394,13 +393,6 @@ class SourceFactory(ObjectFactory):
"internal-alphacolor")
else:
b.csp = gst.element_factory_make("identity")
- """
- b.csp = gst.element_factory_make("ffmpegcolorspace",
- "internal-colorspace")
- def probe_cb(pad, buf):
- #gst.debug_set_threshold_for_name("*", 5)
- return True
- b.csp.get_pad('src').add_buffer_probe(probe_cb)
b.alpha = gst.element_factory_make("alpha", "internal-alpha")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]