[pitivi] timeline/track.py: disable audio transitions for now
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline/track.py: disable audio transitions for now
- Date: Tue, 16 Mar 2010 18:09:13 +0000 (UTC)
commit 5be0fb833e20f9587281002179fcf5357d921c3a
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Mon Mar 8 15:47:47 2010 -0800
timeline/track.py: disable audio transitions for now
pitivi/timeline/track.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index 5121bb9..fa4a5d7 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -1033,6 +1033,8 @@ class Track(Signallable, Loggable):
self.composition.props.update = False
def addTransition(self, transition):
+ if type(self.stream) is AudioStream:
+ return
a, b = transition.a, transition.b
if not ((a in self.track_objects) and
(b in self.track_objects)):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]