Skip to content

Commit

Permalink
better proxy encoding logging
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@5478 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 15, 2014
1 parent f3fdb24 commit 6440550
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/xpra/server/proxy_instance_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6440550

Please sign in to comment.