Skip to content

Commit

Permalink
better debug logging
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@26894 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 6, 2020
1 parent 756d43f commit 8c341a0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/xpra/server/window/window_video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ def check_pipeline_score(self, force_reload):
scorelog("cannot score: mmap enabled")
return
if self.content_type=="text":
scorelog("no pipelines for text content-type")
scorelog("no pipelines for 'text' content-type")
return
elapsed = monotonic_time()-self._last_pipeline_check
max_elapsed = 0.75
Expand Down Expand Up @@ -1321,6 +1321,9 @@ def add_scores(info, csc_spec, enc_in_format):
score_delta, ffps, detection)
if score_data:
scores.append(score_data)
#else:
# scorelog(" no score data for %s",
# (enc_in_format, csc_spec, encoder_spec, width, height, scaling, ".."))
if not FORCE_CSC or src_format==FORCE_CSC_MODE:
add_scores("direct (no csc)", None, src_format)

Expand Down Expand Up @@ -1649,8 +1652,8 @@ def setup_pipeline(self, scores, width, height, src_format):
start = monotonic_time()
if not scores:
if not self.is_cancelled():
videolog.error("Error: no video pipeline options found for %s at %ix%i",
src_format, width, height)
videolog.error("Error: no video pipeline options found for %s %i-bit at %ix%i",
src_format, self.image_depth, width, height)
return False
videolog("setup_pipeline%s", (scores, width, height, src_format))
for option in scores:
Expand Down

0 comments on commit 8c341a0

Please sign in to comment.