projects
/
vidi-player.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vidi-player.py: move the actual processing after the arguments validation
[vidi-player.git]
/
vidi
/
Timeline.py
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)