Improved seeking for mp4 files
Reworked seeking for flv files.