mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Do not update position slider during buffering
This commit is contained in:
@@ -80,7 +80,10 @@ class ClapperInterface extends Gtk.Grid
|
||||
|
||||
_onPlayerPositionUpdated(player, position)
|
||||
{
|
||||
if(this.controls.isPositionSeeking)
|
||||
if(
|
||||
this.controls.isPositionSeeking
|
||||
|| this._player.state === GstPlayer.PlayerState.BUFFERING
|
||||
)
|
||||
return;
|
||||
|
||||
let positionSeconds = Math.round(position / 1000000000);
|
||||
|
Reference in New Issue
Block a user