Skip to content

Commit

Permalink
check for the encoder we want! not just rencode!
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@7365 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Aug 20, 2014
1 parent 2d9c2d3 commit 7a77f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/net/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def enable_default_encoder(self):
def enable_encoder_from_caps(self, caps):
opts = packet_encoding.get_enabled_encoders(order=packet_encoding.PERFORMANCE_ORDER)
for e in opts:
if caps.boolget("rencode"):
if caps.boolget(e):
self.enable_encoder(e)
return True
log.error("no matching packet encoder found!")
Expand Down

0 comments on commit 7a77f93

Please sign in to comment.