ae.ui.video.sdl2common: Fix synchronization crash
ae.ui.video: Refactor SDL common code into ThreadedVideo class