[pitivi] Correction in Timeline._getEffectTrack
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Correction in Timeline._getEffectTrack
- Date: Wed, 22 Sep 2010 13:35:43 +0000 (UTC)
commit e222af028b1dd970a6b2880b86e6876dd26be491
Author: Thibault Saunier <tsaunier src gnome org>
Date: Sat May 29 15:43:24 2010 -0400
Correction in Timeline._getEffectTrack
pitivi/timeline/timeline.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 9eb7c43..309a329 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -1710,7 +1710,7 @@ class Timeline(Signallable, Loggable):
return timeline_object
def _getEffectTrack(self, stream):
- return [track for track in self.tracks if track.stream == stream][0]
+ return [track for track in self.tracks if type (track.stream) == type(stream)][0]
def _getSourceFactoryStreamMap(self, factory):
# track.stream -> track
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]