Commit f4921934 authored by Jonas Jelten's avatar Jonas Jelten

join the player thread

fixes #3
parent c331073d
......@@ -71,6 +71,7 @@ class VideoScreen:
# kill the existing mpv:
if self.mpv is not None:
self.mpv.kill()
self.mpv.join()
self.mpv = Player(MPV_INVOCATION + self.mpv_options + ["--", data],
self.on_player_launch, self.on_player_terminate)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment