Make sure loop is not running before starting it

This commit is contained in:
Rafostar
2020-08-30 20:09:36 +02:00
parent ceb8930a88
commit f35ac10553

View File

@@ -42,7 +42,9 @@ class GtkPlayer extends GstPlayer.Player
_onUriLoaded()
{
this.play();
this.loop.run();
if(!this.loop.is_running())
this.loop.run();
}
_onWidgetDestroy()