vidi/Timeline.py: add a stop() method
authorAntonio Ospite <ao2@ao2.it>
Mon, 28 Nov 2016 12:34:15 +0000 (13:34 +0100)
committerAntonio Ospite <ao2@ao2.it>
Mon, 28 Nov 2016 12:34:15 +0000 (13:34 +0100)
vidi/Timeline.py

index c1e9698..fe98677 100755 (executable)
@@ -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)