fix looping behavior

At present, the AV Foundation player just seeks back to the start, it doesn't reinitiate playback.
Merge pull request #507 from pizthewiz/avfoundation-loop

fix looping behavior in AV Foundation player