[pitivi/gtktimeline] Fix using images
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/gtktimeline] Fix using images
- Date: Tue, 19 May 2015 17:43:39 +0000 (UTC)
commit 676b195950249d8125320fc50308ac9ca11e2e08
Author: Thibault Saunier <tsaunier gnome org>
Date: Tue May 19 14:17:36 2015 +0200
Fix using images
pitivi/timeline/timeline.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 7cdd46b..f5d7acf 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -636,7 +636,7 @@ class Timeline(Gtk.EventBox, timelineUtils.Zoomable, Loggable):
break
if asset.is_image():
- clip_duration = self._settings.imageClipLength * \
+ clip_duration = self.app.settings.imageClipLength * \
Gst.SECOND / 1000.0
else:
clip_duration = asset.get_duration()
@@ -1030,7 +1030,7 @@ class TimelineContainer(Gtk.Grid, Zoomable, Loggable):
if isinstance(asset, GES.TitleClip):
clip_duration = asset.get_duration()
elif asset.is_image():
- clip_duration = self._settings.imageClipLength * \
+ clip_duration = self.app.settings.imageClipLength * \
Gst.SECOND / 1000.0
else:
clip_duration = asset.get_duration()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]