Fix some rather nasty leaks in the VideoPlayer.