aboutsummaryrefslogtreecommitdiff
path: root/voctocore/lib
diff options
context:
space:
mode:
authorMaZderMind <peter@mazdermind.de>2014-09-03 17:30:35 +0200
committerMaZderMind <peter@mazdermind.de>2014-09-03 17:30:35 +0200
commitbf9dc34408bdbb75e710e13167cfbf354e4c086e (patch)
tree2c5b7f1cb33c68b0a62fb7aa10c9dae80ff1782e /voctocore/lib
parent280c3dc4599c66051001fa9a1effed2f7c25dfa9 (diff)
this time I have itgit diff git diff git diff I think..
Diffstat (limited to 'voctocore/lib')
-rw-r--r--voctocore/lib/shmsrc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/voctocore/lib/shmsrc.py b/voctocore/lib/shmsrc.py
index 3b7a6a4..0224386 100644
--- a/voctocore/lib/shmsrc.py
+++ b/voctocore/lib/shmsrc.py
@@ -98,6 +98,7 @@ class FailsafeShmSrc(Gst.Bin):
def restart(self):
self.log.warning('restarting ShmSrc')
self.shmsrc.set_state(Gst.State.NULL)
+ self.shmsrc.set_base_time(self.get_parent().get_base_time())
self.shmsrc.set_state(Gst.State.PLAYING)
def switch_to_goodstate(self):