Skip to content

Commit

Permalink
#4161 log 'nocsc' warning just once per encoding / window
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 13, 2024
1 parent 0c21dbc commit 5eb95e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/server/window/video_compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def update_encoding_selection(self, encoding=None, exclude=None, init=False) ->
exclude.append(x)
continue
csc_modes = self.full_csc_modes.strtupleget(x)
if not csc_modes or x not in self.core_encodings:
if (not csc_modes or x not in self.core_encodings) and first_time(f"nocsc-{x}-{self.wid}"):
exclude.append(x)
msg_args = ("Warning: client does not support any csc modes with %s on window %i", x, self.wid)
if x == "jpega" and not self.supports_transparency:
Expand Down

0 comments on commit 5eb95e6

Please sign in to comment.