[pitivi] interpolator: make start, end public
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] interpolator: make start, end public
- Date: Wed, 24 Jun 2009 14:00:56 +0000 (UTC)
commit c59ba23fd82bfdec6346cb7a1fb253d56d2cbc37
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date: Thu May 28 13:25:22 2009 -0700
interpolator: make start, end public
pitivi/timeline/track.py | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index 5ab1b06..55e262d 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -137,15 +137,15 @@ class Interpolator(Signallable):
# FIXME: uncomment this when back-end support works
#self._controller = gst.Controller(self._element, property)
- self._start = FixedKeyframe(self)
- self._end = FixedKeyframe(self)
- self._start.value = self._default
- self._start.time = 0
- self._end.value = self._default
- self._end.time = trackobject.factory.duration
-
- data = [(self._start.time, self._start.value), (self._end.time,
- self._end.value)]
+ self.start = FixedKeyframe(self)
+ self.end = FixedKeyframe(self)
+ self.start.value = self._default
+ self.start.time = 0
+ self.end.value = self._default
+ self.end.time = trackobject.factory.duration
+
+ data = [(self.start.time, self.start.value), (self.end.time,
+ self.end.value)]
#self._controller.set_from_list(property, data)
def newKeyFrame(self, time, value=None, mode=None):
@@ -246,10 +246,10 @@ class TrackObject(Signallable):
self._connectToSignals(obj)
- self._interpolators = {}
+ self.interpolators = {}
if stream:
for prop in factory.getInterpolatedProperties(stream):
- self._interpolators[prop] = Interpolator(self, prop)
+ self.interpolators[prop] = Interpolator(self, prop)
def release(self):
self._disconnectFromSignals()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]