End the video when we run out of packets.

If there are no audio or video packets left, even if we haven't hit the
pts, the video is over.
Fixes #6135, hanging in Chinese translation of Clannad.
Merge pull request #6142 from unknownbrackets/psmfplayer

End the video when we run out of packets