mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +02:00
Add fast seeking (disabled by default)
The fast seeking option. It seeks to the next keyframe which reduces seeking delay over 10 times, but makes the seeking very inaccurate as a side effect (usually up to few seconds from requested position).
This commit is contained in:
@@ -446,7 +446,6 @@ class ClapperInterface extends Gtk.Grid
|
||||
|
||||
this.lastPositionValue = positionSeconds;
|
||||
this._player.seek_seconds(positionSeconds);
|
||||
debug(`player is seeking to position: ${positionSeconds}`);
|
||||
|
||||
/* Needed to enable preview after playback is stopped */
|
||||
if(this._player.state === GstPlayer.PlayerState.STOPPED)
|
||||
|
Reference in New Issue
Block a user