[pitivi] timeline: Do not show keyframes while playing
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Do not show keyframes while playing
- Date: Tue, 3 Nov 2015 10:53:39 +0000 (UTC)
commit b339056076360bd28eb4976270c18cb9be7e07b3
Author: Thibault Saunier <tsaunier gnome org>
Date: Tue Nov 3 11:47:11 2015 +0100
timeline: Do not show keyframes while playing
Fixes T3348
Differential Revision: https://phabricator.freedesktop.org/D484
Reviewed-by: Alex Băluț <alexandru balut gmail com>
pitivi/timeline/elements.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index bfb17c8..8aa2579 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -416,6 +416,9 @@ class TimelineElement(Gtk.Layout, timelineUtils.Zoomable, Loggable):
Gtk.Layout.do_set_property(self, property_id, value, pspec)
def __showKeyframes(self):
+ if self.timeline.app.project_manager.current_project.pipeline.getState() == Gst.State.PLAYING:
+ return False
+
if not self.__keyframeCurve:
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]