From: Antonio Ospite Date: Mon, 28 Nov 2016 12:34:15 +0000 (+0100) Subject: vidi/Timeline.py: add a stop() method X-Git-Url: https://git.ao2.it/vidi-player.git/commitdiff_plain/6260f5eebfa3a865de0cecb78986d75bb1b661e1?ds=sidebyside vidi/Timeline.py: add a stop() method --- 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)