From 6260f5eebfa3a865de0cecb78986d75bb1b661e1 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Mon, 28 Nov 2016 13:34:15 +0100 Subject: [PATCH] vidi/Timeline.py: add a stop() method --- vidi/Timeline.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vidi/Timeline.py b/vidi/Timeline.py index c1e9698..fe98677 100755 --- a/vidi/Timeline.py +++ b/vidi/Timeline.py @@ -57,6 +57,9 @@ class Timeline(object): self.timeline.commit() self.player.play() + def stop(self): + self.player.stop() + def save(self, path): uri = Gst.filename_to_uri(path) self.project.save(self.timeline, uri, None, False) -- 2.1.4