Skip to content

Commit

Permalink
#3337 this check is no longer valid
Browse files Browse the repository at this point in the history
we adjust speed and quality earlier if there is congestion
  • Loading branch information
totaam committed Nov 9, 2021
1 parent 52ba34a commit 8025426
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions xpra/server/window/window_video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8025426

Please sign in to comment.