Skip to content

Commit

Permalink
reduce missing video pipelines log spam
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 15, 2024
1 parent 2be7c41 commit f8dfbed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpra/server/window/window_video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@ def setup_pipeline(self, scores : Tuple, width : int, height : int, src_format :
raise RuntimeError(f"invalid dimensions: {width}x{height}")
start = monotonic()
if not scores:
if not self.is_cancelled():
if not self.is_cancelled() and first_time(f"no-scores-{src_format}-{self.wid}"):
videolog.error("Error: no video pipeline options found for %s %i-bit at %ix%i",
src_format, self.image_depth, width, height)
return False
Expand Down Expand Up @@ -2345,7 +2345,7 @@ def do_video_encode(self, encoding : str, image : ImageWrapper, options : Dict)
videolog.error(" encoders CSC modes: %s", csv(ecsc))
if FORCE_CSC:
videolog.error(" forced csc mode: %s", FORCE_CSC_MODE)
return self.video_fallback(image, options, warn=True)
return self.video_fallback(image, options)
ve = self._video_encoder
if not ve:
return self.video_fallback(image, options, warn=True)
Expand Down

0 comments on commit f8dfbed

Please sign in to comment.