The whole game hangs about 1-2 seconds when media_play is called (during that time the avi is not started at all) and then continues without any slowdown when the avi is played. It seems that the init of the codec freezes the whole game during that time. In window mode I see the display flickering two times black and then the avi starts ... maybe it's a problem between the codec and that graphic card driver.