[pitivi] Port to the new little API changes in GES
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Port to the new little API changes in GES
- Date: Tue, 23 Apr 2013 23:23:34 +0000 (UTC)
commit 6211f3a3e95fbb234711dab9004033e5c3c867af
Author: Thibault Saunier <thibault saunier collabora com>
Date: Tue Apr 23 20:14:30 2013 -0300
Port to the new little API changes in GES
GES.TimelineLayer has been renamed GES.Layer
The rate property of GES.TimelineLayer.add_asset has been removed
pitivi/timeline/timeline.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 4bdbb91..d64303a 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -1325,7 +1325,7 @@ class Timeline(Gtk.Table, Loggable, Zoomable):
layers = self.timeline.get_layers()
if (len(layers) == 0):
- layer = GES.TimelineLayer()
+ layer = GES.Layer()
layer.props.auto_transition = True
self.timeline.add_layer(layer)
layers = [layer]
@@ -1361,7 +1361,7 @@ class Timeline(Gtk.Table, Loggable, Zoomable):
clip_duration = asset.get_duration()
source = layer.add_asset(asset, start, 0,
- clip_duration, 1.0, asset.get_supported_formats())
+ clip_duration, asset.get_supported_formats())
self._temp_elements.insert(0, source)
start += asset.get_duration()
@@ -1856,5 +1856,5 @@ class Timeline(Gtk.Table, Loggable, Zoomable):
clip_duration = asset.get_duration()
layer.add_asset(asset, self.timeline.props.duration,
- 0, clip_duration, 1.0, asset.get_supported_formats())
+ 0, clip_duration, asset.get_supported_formats())
self.timeline.enable_update(True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]