projects
/
vidi-player.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
59d336e
)
vidi/Timeline.py: add a stop() method
author
Antonio Ospite <ao2@ao2.it>
Mon, 28 Nov 2016 12:34:15 +0000
(13:34 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 28 Nov 2016 12:34:15 +0000
(13:34 +0100)
vidi/Timeline.py
patch
|
blob
|
history
diff --git
a/vidi/Timeline.py
b/vidi/Timeline.py
index
c1e9698
..
fe98677
100755
(executable)
--- 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)