From 8025426b62ab3abf7d078cb4d8eeac8841824be5 Mon Sep 17 00:00:00 2001 From: totaam Date: Tue, 9 Nov 2021 16:40:42 +0700 Subject: [PATCH] #3337 this check is no longer valid we adjust speed and quality earlier if there is congestion --- xpra/server/window/window_video_source.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/xpra/server/window/window_video_source.py b/xpra/server/window/window_video_source.py index 611adb6edb..601f8fefa5 100644 --- a/xpra/server/window/window_video_source.py +++ b/xpra/server/window/window_video_source.py @@ -492,9 +492,6 @@ def lossless(reason): if now-self.statistics.last_resized<0.350: return nonvideo(quality-30, "resized recently") - if self._current_quality!=quality or self._current_speed!=speed: - return nonvideo(info="quality or speed overriden") - if sr and ((sr.width&self.width_mask)!=cww or (sr.height&self.height_mask)!=cwh): #we have a video region, and this is not it, so don't use video #raise the quality as the areas around video tend to not be graphics