mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-28 09:16:03 +03:00
[PR #610] [MERGED] AvPlayer: Handle Initialization errors #1664
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1664
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/610
Author: @roamic
Created: 8/27/2024
Status: ✅ Merged
Merged: 8/27/2024
Merged by: @georgemoralis
Base:
main← Head:avplayer-handle-init-errors📝 Commits (1)
2d354a0AvPlayer: Handle Initialization errors📊 Changes
8 files changed (+90 additions, -61 deletions)
View changed files
📝
src/core/libraries/avplayer/avplayer_data_streamer.h(+3 -0)📝
src/core/libraries/avplayer/avplayer_file_streamer.cpp(+17 -13)📝
src/core/libraries/avplayer/avplayer_file_streamer.h(+3 -1)📝
src/core/libraries/avplayer/avplayer_impl.cpp(+6 -3)📝
src/core/libraries/avplayer/avplayer_source.cpp(+31 -23)📝
src/core/libraries/avplayer/avplayer_source.h(+4 -4)📝
src/core/libraries/avplayer/avplayer_state.cpp(+23 -14)📝
src/core/libraries/avplayer/avplayer_state.h(+3 -3)📄 Description
Replaced asserts during the initialization stage with error propagation. This fixes some non-well-behaving games and games with modified or removed video files.
Also did some refactoring of return values to
boolas they were binary 0/-1.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.