Skip to content

Commit

Permalink
we can reset the video region asynchronously.. avoid errors in video …
Browse files Browse the repository at this point in the history
…encode, don't do the validation here

git-svn-id: https://xpra.org/svn/Xpra/trunk@13671 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 12, 2016
1 parent c0d8ff3 commit abd1d82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/xpra/server/window/window_video_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,6 @@ def do_video_encode(self, encoding, image, options):
Runs in the 'encode' thread.
"""
x, y, w, h = image.get_geometry()[:4]
assert (x==0 and y==0) or self.video_subregion.rectangle, "invalid position: %s,%s" % (x,y)
src_format = image.get_pixel_format()
if self.pixel_format!=src_format:
videolog.warn("image pixel format changed from %s to %s", self.pixel_format, src_format)
Expand Down

0 comments on commit abd1d82

Please sign in to comment.