While encoding video, Xvid Video Encoder provides an optional status window displaying information on encoding progress. Since streaming typically takes place in a worker thread, with possibly no windows at all, and no message pump, the window is to be created on GUI thread and the encoder needs to synchronize progress updates with the window.…