[pitivi] Change EffectTrackObject => EffectTrack
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Change EffectTrackObject => EffectTrack
- Date: Wed, 22 Sep 2010 13:35:27 +0000 (UTC)
commit 978d8b2f66f6d9e9c4bb5aba91ea58d5ffc3ebcb
Author: Thibault Saunier <tsaunier src gnome org>
Date: Mon May 24 12:03:04 2010 -0400
Change EffectTrackObject => EffectTrack
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 1985b3c..bcae451 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,\
- EffectTrackObject, TrackError
+ EffectTrack, 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 = EffectTrackObject(factory, input_stream)
+ track_object = EffectTrack(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 2d7c34a..9de7fde 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -705,7 +705,7 @@ class SourceTrackObject(TrackObject):
SourceTrackObject.numobjs += 1
return source
-class EffectTrackObject(TrackObject):
+class EffectTrack(TrackObject):
numobjs = 0
@@ -713,7 +713,7 @@ class EffectTrackObject(TrackObject):
effect = gst.element_factory_make('gnloperation',
"gnloperation: " + self.factory.__class__.__name__ +
str(SourceTrackObject.numobjs))
- EffectTrackObject.numobjs += 1
+ EffectTrack.numobjs += 1
return effect
class Transition(Signallable):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]