mirror of
https://github.com/Syncplay/syncplay
synced 2025-01-11 09:19:37 +00:00
Speed change thresholds changed
This commit is contained in:
parent
252960159e
commit
76f54d20f6
@ -166,10 +166,10 @@ class SyncplayClient(object):
|
||||
return madeChangeOnPlayer
|
||||
|
||||
def _slowDownToCoverTimeDifference(self, diff):
|
||||
if(0.4 < diff < 4):
|
||||
if(0.5 < diff):
|
||||
self._player.setSpeed(0.95)
|
||||
self._speedChanged = True
|
||||
elif(self._speedChanged):
|
||||
elif(self._speedChanged and diff < 0.2 ):
|
||||
self._player.setSpeed(1.00)
|
||||
self._speedChanged = False
|
||||
madeChangeOnPlayer = True
|
||||
|
Loading…
Reference in New Issue
Block a user