Improve PsmfPlayer.

Implement video loop for PsmfPlayer.
Tiny bug fix.
Merge pull request #2502 from oioitff/mpeg-fix2

Improve PsmfPlayer, and implement video loop for PsmfPlayer.