From 8c341a03d38344cb8315bddd0a74bbb9f5ba3b5f Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 6 Jul 2020 09:10:51 +0000 Subject: [PATCH] better debug logging git-svn-id: https://xpra.org/svn/Xpra/trunk@26894 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/server/window/window_video_source.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/xpra/server/window/window_video_source.py b/src/xpra/server/window/window_video_source.py index a34c07f059..b95d471fbd 100644 --- a/src/xpra/server/window/window_video_source.py +++ b/src/xpra/server/window/window_video_source.py @@ -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 @@ -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) @@ -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: