From f0ea7ae798678c650a46d37cf7f7fdea92552ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Sun, 18 Apr 2021 15:28:55 +0200 Subject: [PATCH] Remove set_seek_mode check We now use a custom GstPlayer fork that has it added --- src/player.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/player.js b/src/player.js index 85a2d182..f4635f60 100644 --- a/src/player.js +++ b/src/player.js @@ -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); }