Skip to content

Commit

Permalink
fixup r13813: no get_size(), so use width / height
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@13814 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 21, 2016
1 parent 68522d8 commit 72ae797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xpra/server/window/window_video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,8 @@ def process_damage_region(self, damage_time, x, y, w, h, coding, options, flush=
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()
w = image.get_width()
h = image.get_height()

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

0 comments on commit 72ae797

Please sign in to comment.