Fix videoplayer crash on quit

The sound stream thread was trying to update the stream during/after destruction of the video state.
Implement frame drop support in the videoplayer (Fixes #1343)