AnyPS5/docs/dev
Yassine 9fc0af0b10 fix(avplayer): do not let auto start restart playback the title started
sceAvPlayerAddSource queues an auto start for a player created with auto
start or without an event callback. When the title enabled its streams
and called sceAvPlayerStart before the controller thread ran it, the auto
start called Start again on the playing player, which stopped it, released
every video buffer, including the frame the title held, and started the
film over. guest_avplayer occasionally caught this as "video frame is not
a texture allocation"; right after the test's own start, 8 texture
buffers were released in 15 of 15 runs.

The auto start now starts the player only while it is still ready, and
checks that under the player lock together with the start.

TestAutoStartKeepsStartedPlayback starts a callback-less player itself and
checks that no texture buffer is released afterwards and that the frame
it holds stays allocated. It fails on every run without the fix.
2026-10-10 17:56:25 +00:00
..
ARCHITECTURE.md perf(agc): relink library pipelines with link-time optimization in the background 2026-10-10 14:24:45 +02:00
BUILD.md Merge pull request #1686 from Cloud-Multiplayer/feat/macos-write-watch 2026-10-10 08:03:40 +02:00
CONVENTIONS.md refactor(docs): separated user and dev in docs + compatibility file 2026-09-28 22:58:17 +03:00
HW_ORACLE.md feat(shader): follow FP16_OVFL in every f16 result 2026-10-10 04:32:38 -03:00
PROGRESS.md fix(progress): link include-shared libraries and label empty ones 2026-10-10 08:49:58 +02:00
TechnicalDebt.md fix(avplayer): do not let auto start restart playback the title started 2026-10-10 17:56:25 +00:00