[pitivi] Change EffectTrack=>TrackEffect
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Change EffectTrack=>TrackEffect
- Date: Wed, 22 Sep 2010 13:35:32 +0000 (UTC)
commit 105eb28d4fbc073e9cee9e00b023f0d349241fed
Author: Thibault Saunier <tsaunier src gnome org>
Date: Mon May 24 18:02:09 2010 -0400
Change EffectTrack=>TrackEffect
pitivi/timeline/timeline.py | 4 ++--
pitivi/timeline/track.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index bcae451..9eb7c43 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -26,7 +26,7 @@ from pitivi.signalinterface import Signallable
from pitivi.log.loggable import Loggable
from pitivi.utils import UNKNOWN_DURATION, closest_item, PropertyChangeTracker
from pitivi.timeline.track import TrackObject, SourceTrackObject,\
- EffectTrack, TrackError
+ TrackEffect, TrackError
from pitivi.stream import match_stream_groups_map
from pitivi.utils import start_insort_right, infinity, getPreviousObject, \
getNextObject
@@ -1701,7 +1701,7 @@ class Timeline(Signallable, Loggable):
raise TimelineError()
timeline_object = TimelineObject(factory)
- track_object = EffectTrack(factory, input_stream)
+ track_object = TrackEffect(factory, input_stream)
track.addTrackObject(track_object)
timeline_object.addTrackObject(track_object)
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index 9de7fde..a5dae29 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -705,7 +705,7 @@ class SourceTrackObject(TrackObject):
SourceTrackObject.numobjs += 1
return source
-class EffectTrack(TrackObject):
+class TrackEffect(TrackObject):
numobjs = 0
@@ -713,7 +713,7 @@ class EffectTrack(TrackObject):
effect = gst.element_factory_make('gnloperation',
"gnloperation: " + self.factory.__class__.__name__ +
str(SourceTrackObject.numobjs))
- EffectTrack.numobjs += 1
+ TrackEffect.numobjs += 1
return effect
class Transition(Signallable):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]