Skip to content

Commit

Permalink
#1346: honour XPRA_B_FRAMES env var server side
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@14392 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 4, 2016
1 parent ff9f48e commit c83bc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/server/window/window_video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ def get_video_encoder_options(self, encoding, width, height):
return {
"source" : "video",
#could take av-sync into account here to choose the number of b-frames:
"b-frames" : int(encoding in self.supports_video_b_frames),
"b-frames" : int(B_FRAMES and (encoding in self.supports_video_b_frames)),
}
return {}

Expand Down

0 comments on commit c83bc7b

Please sign in to comment.