Skip to content

Commit

Permalink
#865: make_data_packet_cb MUST always be called from the encode threa…
Browse files Browse the repository at this point in the history
…d! (fixes breakage caused by r9372)

git-svn-id: https://xpra.org/svn/Xpra/trunk@9463 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 21, 2015
1 parent 38b60b4 commit 8aa068d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/server/window_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ def process_damage_region(self, damage_time, window, x, y, w, h, coding, options
av_sync = options.get("av-sync", False)
av_delay = self.av_sync_delay*int(av_sync)
if not av_sync:
self.make_data_packet_cb(*item)
self.call_in_encode_thread(self.make_data_packet_cb, *item)
else:
#schedule encode via queue, after freezing the pixels:
frozen = image.freeze()
Expand Down

0 comments on commit 8aa068d

Please sign in to comment.