add mutex to the sdl video_output