Skip to content

Commit

Permalink
make it possible to enable fast-decode from the client via env var
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@20397 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 12, 2018
1 parent 3561165 commit 21d1a3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xpra/client/mixins/encodings.py
Expand Up @@ -196,6 +196,7 @@ def get_encodings_caps(self):
profile = os.environ.get("XPRA_H264_%s_PROFILE" % (csc_name), default_profile)
if profile:
h264_caps["%s.profile" % (csc_name)] = profile
h264_caps["fast-decode"] = envbool("XPRA_X264_FAST_DECODE", False)
log("x264 encoding options: %s", h264_caps)
updict(caps, "h264", h264_caps)
iq = max(self.min_quality, self.quality)
Expand Down

0 comments on commit 21d1a3d

Please sign in to comment.