mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +02:00
Add player seek_done property
This commit is contained in:
@@ -345,7 +345,7 @@ class ClapperInterface extends Gtk.Grid
|
||||
{
|
||||
switch(state) {
|
||||
case GstPlayer.PlayerState.BUFFERING:
|
||||
if(!this._player.isLocalFile)
|
||||
if(!this._player.is_local_file)
|
||||
this.needsTracksUpdate = true;
|
||||
break;
|
||||
case GstPlayer.PlayerState.STOPPED:
|
||||
@@ -395,6 +395,7 @@ class ClapperInterface extends Gtk.Grid
|
||||
{
|
||||
if(
|
||||
!this.isSeekable
|
||||
|| !this._player.seek_done
|
||||
|| this.controls.isPositionSeeking
|
||||
|| this._player.state === GstPlayer.PlayerState.BUFFERING
|
||||
)
|
||||
|
Reference in New Issue
Block a user