mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Make sure loop is not running before starting it
This commit is contained in:
@@ -42,7 +42,9 @@ class GtkPlayer extends GstPlayer.Player
|
||||
_onUriLoaded()
|
||||
{
|
||||
this.play();
|
||||
this.loop.run();
|
||||
|
||||
if(!this.loop.is_running())
|
||||
this.loop.run();
|
||||
}
|
||||
|
||||
_onWidgetDestroy()
|
||||
|
Reference in New Issue
Block a user