From abd1d829afe65462fbefea9ec8268f66bd56038a Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 12 Sep 2016 10:13:29 +0000 Subject: [PATCH] we can reset the video region asynchronously.. avoid errors in video encode, don't do the validation here git-svn-id: https://xpra.org/svn/Xpra/trunk@13671 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/server/window/window_video_source.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xpra/server/window/window_video_source.py b/src/xpra/server/window/window_video_source.py index 2d7b735dfb..02b5422eb1 100644 --- a/src/xpra/server/window/window_video_source.py +++ b/src/xpra/server/window/window_video_source.py @@ -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)