Skip to content

Commit

Permalink
only warn once per window when no video options are found
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 12, 2024
1 parent 0a3d58a commit 0c21dbc
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 @@ -1848,7 +1848,7 @@ def setup_pipeline(self, scores : tuple, width: int, height: int, src_format : s
self.csc_clean(self._csc_encoder)
self.ve_clean(self._video_encoder)
end = monotonic()
if not self.is_cancelled():
if not self.is_cancelled() and first_time(f"novideo-{src_format}-{self.wid}"):
videolog("setup_pipeline(..) failed! took %.2fms", (end-start)*1000.0)
videolog.error("Error: failed to setup a video pipeline for %s at %ix%i", src_format, width, height)
videolog.error(" tried the following options")
Expand Down

0 comments on commit 0c21dbc

Please sign in to comment.