mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Nothing on this path ever called InitFFmpeg, so ffmpeg's log callback was never installed and everything it had to say about the bitstream went nowhere. Our own return codes only report that a frame arrived, not what it was built from, so a video could fall apart on screen while the log showed two warnings in two thousand frames. Also report decode_error_flags and AV_FRAME_FLAG_CORRUPT per frame, which covers the other half: a frame that decodes "successfully" out of concealment. Coalesced into one line per run of damage, since a missing reference makes every frame damaged until the next keyframe. Not setting AV_EF_EXPLODE, which would make the decoder fail where it currently conceals - that is a behaviour change, and this is meant to be a reporting one. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>