Skip to content

Commit

Permalink
#1287: image may have been clipped to the new window size during resi…
Browse files Browse the repository at this point in the history
…ze, re-read image size

git-svn-id: https://xpra.org/svn/Xpra/trunk@13813 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 21, 2016
1 parent ae4d058 commit 68522d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xpra/server/window/window_video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,8 @@ def process_damage_region(self, damage_time, x, y, w, h, coding, options, flush=
image.free()
return
self.pixel_format = image.get_pixel_format()
#image may have been clipped to the new window size during resize:
w, h = image.get_size()

must_freeze = options.get("av-sync", False) or coding in self.video_encodings
if must_freeze:
Expand Down

0 comments on commit 68522d8

Please sign in to comment.