mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
Old claim: the frame rate field of SceAvPlayerVideoEx is left zero in frame and stream info.
The code: framerate (uint32, offset 16) is never written, so it stays zero. frame_rate (double, offset 48) is set in both paths from av_guess_frame_rate: stream info in createStreamInfoEx and frame info in the decoded-frame path.
Permalinks at b1b5353cfc:
- https://github.com/boykopovar/AnyPS5/blob/b1b5353cfcee098ed17e3ba8a6e616bee97c9215/core/libs/prx/libSceAvPlayer/src/Source.cpp#L671
- https://github.com/boykopovar/AnyPS5/blob/b1b5353cfcee098ed17e3ba8a6e616bee97c9215/core/libs/prx/libSceAvPlayer/src/Source.cpp#L1084
- https://github.com/boykopovar/AnyPS5/blob/b1b5353cfcee098ed17e3ba8a6e616bee97c9215/core/libs/SceTypes.hpp#L764
- https://github.com/boykopovar/AnyPS5/blob/b1b5353cfcee098ed17e3ba8a6e616bee97c9215/core/libs/SceTypes.hpp#L774
10 lines
924 B
Markdown
10 lines
924 B
Markdown
# libs technical debt
|
|
|
|
### Unknown function info
|
|
|
|
- [SceAvPlayerVideoEx](../../../core/libs/SceTypes.hpp) (libSceAvPlayer) - the `framerate` field (offset 16) and its encoding are unknown and it is left zero in frame and stream info; `frame_rate` (offset 48) is set from FFmpeg's guessed frame rate in both, and the console's values are unmeasured
|
|
|
|
### Functional
|
|
|
|
- [GuestKernelSys.cpp](../../../core/libs/tests/GuestKernelSys.cpp) (libs) - Windows removes the fixture's symbolic links and the fixture without std::filesystem: the MinGW libstdc++ (GCC 15.2.0) reports a dangling symbolic link as missing and clears the error, so `remove` neither deletes it nor fails, and `remove_all` loops forever over a tree that holds one (`recursive_directory_iterator::__erase` retries the entry while the error stays clear). The tests delete reparse points with `DeleteFileW` and `RemoveDirectoryW` and the fixture through the shell
|