Fix seeking for mpeg files
New style buffering.

We use differences between media time and submitted pts values to decide when to buffer.
All buffering (and pausing) is done in one place. We initially start with a low threshold to leav buffering
but increase that whenever we underrun.