Remove set_seek_mode check

We now use a custom GstPlayer fork that has it added
This commit is contained in:
Rafał Dzięgiel
2021-04-18 15:28:55 +02:00
parent 380236b8ba
commit f0ea7ae798

View File

@@ -296,12 +296,9 @@ class ClapperPlayer extends GstClapper.Clapper
return;
}
/* FIXME: Remove this check when GstPlay(er) have set_seek_mode function */
if(this.set_seek_mode) {
this.set_seek_mode(GstClapper.ClapperSeekMode.DEFAULT);
this.seekingMode = 'normal';
this.needsFastSeekRestore = true;
}
this.set_seek_mode(GstClapper.ClapperSeekMode.DEFAULT);
this.seekingMode = 'normal';
this.needsFastSeekRestore = true;
this.seek_seconds(seconds);
}