API: let client decide what to do on EOS #52

This commit is contained in:
Rafał Dzięgiel
2021-04-27 09:24:13 +02:00
parent ec1d4619a7
commit 997e47b93c
2 changed files with 7 additions and 4 deletions

View File

@@ -568,6 +568,10 @@ class ClapperPlayer extends GstClapper.Clapper
this.quitOnStop = true;
this._performCloseCleanup(this.widget.get_root());
}
/* When this signal is connected player
* wants us to decide if it should stop */
this.stop();
}
_onUriLoaded(player, uri)