Fix audio and video synching in playlists with discontinuities and seeking into discontinuities

Last commit had issues in these cases
Merge pull request #72 from danii-nebot/master

Fix audio and video synching in playlists with discontinuities