hrydgard/ppsspp — pull request #6130 by unknownbrackets (2014-05-24 22:42:53+00:00)
Title: Cleanup errors and a pausing in psmfplayer

So, I think this is pretty much it now.

The most major changes are:
* scePsmfPlayerGetAudioData() can return trailing zero packets to sync with video.
* scePsmfPlayerGetVideoData() seems to treat bufw=0 as 512 (even for videos with odd sizes.)
* While paused, scePsmfPlayerGetVideoData() still writes the frame. Basically it always tries to write the frame.
* While paused, scePsmfPlayerGetAudioData() does NOT write the frame.
* scePsmfPlayerBreak() isn't supposed to change status at all (I'm not 100% sure what it does, but with recent fixes, almost none of my games call it anymore, and when they do, it seems like a safety to reset any errors.)
* scePsmfPlayerDelete() writes a 0 to the pointer (previously written in create.)

-[Unknown]