API: notify about speed value reset on STOP

This commit is contained in:
Rafał Dzięgiel
2021-01-28 17:39:52 +01:00
parent f7a24b20c6
commit dea77cc39f
2 changed files with 24 additions and 6 deletions

View File

@@ -78,11 +78,6 @@ class ClapperPlayer extends PlayerBase
set_uri(uri)
{
/* FIXME: Player does not notify about
* rate change after file load */
if(this.rate !== 1)
this.set_rate(1);
if(Gst.Uri.get_protocol(uri) !== 'file')
return super.set_uri(uri);