VLC: hopefully fixes issue #213

This commit is contained in:
Alberto Sottile 2019-02-10 15:57:52 +01:00
parent a0a06c61f4
commit e1af902f7c

View File

@ -229,6 +229,7 @@ class VlcPlayer(BasePlayer):
self._paused == False and self._paused == False and
self._position == self._previousPreviousPosition and self._position == self._previousPreviousPosition and
self._previousPosition == self._position and self._previousPosition == self._position and
self._duration and
self._duration > constants.PLAYLIST_LOAD_NEXT_FILE_MINIMUM_LENGTH and self._duration > constants.PLAYLIST_LOAD_NEXT_FILE_MINIMUM_LENGTH and
(self._duration - self._position) < constants.VLC_EOF_DURATION_THRESHOLD and (self._duration - self._position) < constants.VLC_EOF_DURATION_THRESHOLD and
diff > constants.VLC_LATENCY_ERROR_THRESHOLD diff > constants.VLC_LATENCY_ERROR_THRESHOLD