mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 00:41:58 +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)
|
_onPlayerPositionUpdated(player, position)
|
||||||
{
|
{
|
||||||
if(this.controls.isPositionSeeking)
|
if(
|
||||||
|
this.controls.isPositionSeeking
|
||||||
|
|| this._player.state === GstPlayer.PlayerState.BUFFERING
|
||||||
|
)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let positionSeconds = Math.round(position / 1000000000);
|
let positionSeconds = Math.round(position / 1000000000);
|
||||||
|
Reference in New Issue
Block a user