From 644055068acd68c0f644f2a349ba03414b6406f8 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 15 Feb 2014 11:48:43 +0000 Subject: [PATCH] better proxy encoding logging git-svn-id: https://xpra.org/svn/Xpra/trunk@5478 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/server/proxy_instance_process.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/xpra/server/proxy_instance_process.py b/src/xpra/server/proxy_instance_process.py index baf58adc29..5af821fab7 100644 --- a/src/xpra/server/proxy_instance_process.py +++ b/src/xpra/server/proxy_instance_process.py @@ -319,8 +319,11 @@ def filter_client_caps(self, caps): missing = [x for x in self.video_encoder_types if x not in e_found] if len(missing)>0: log.warn("the following proxy encoders were not found or did not match: %s", ", ".join(missing)) - fc["encoding.proxy.video.encodings"] = encoding_defs - fc["encoding.proxy.video"] = True + else: + log("found the following proxy encoders: %s", e_found) + if len(encoding_defs)>0: + fc["encoding.proxy.video.encodings"] = encoding_defs + fc["encoding.proxy.video"] = len(e_found)>0 return fc def filter_server_caps(self, caps):