mediathreads - prevent player set from changing during iteration.
@@ -151,7 +151,7 @@ class PlayerWorkerThread(MediaThread):
if self.players:
filled = False
- for player in self.players:
+ for player in list(self.players):
write_size = player.get_write_size()
if write_size > player.min_buffer_size:
player.refill(write_size)
