mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +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()
|
_onUriLoaded()
|
||||||
{
|
{
|
||||||
this.play();
|
this.play();
|
||||||
this.loop.run();
|
|
||||||
|
if(!this.loop.is_running())
|
||||||
|
this.loop.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
_onWidgetDestroy()
|
_onWidgetDestroy()
|
||||||
|
Reference in New Issue
Block a user