patch to put the video compression in a SDL_Thread, based on kekko's work (VOGONS forums)