Skip to content

various fixes#18016

Open
na-na-hi wants to merge 9 commits into
mpv-player:masterfrom
na-na-hi:slop-fix
Open

various fixes#18016
na-na-hi wants to merge 9 commits into
mpv-player:masterfrom
na-na-hi:slop-fix

Conversation

@na-na-hi
Copy link
Copy Markdown
Contributor

Fixes various "major" and "critical" bugs.

na-na-hi added 9 commits May 23, 2026 08:37
ractx and vk are parented to ctx. No need to free manually.
And only free explicitly on success. On failure it will be freed by
parent.

Fixes: [Bug] vf_gpu_vulkan: Use-after-free of ctx_opts
No need to call SDL_GameControllerGetJoystick if controller is NULL.
Fixes: [Bug] subprocess-posix: Signal mask leak when fork fails in
detach path
Fixes: [Bug] vf_amf.c: Profile always forced to FRC_PROFILE_HIGH
Not effect for current handlers.

Fixes: [Bug] frame.c: Wrong handler check in mp_frame_set_pts
(get_pts instead of set_pts)
Comment thread osdep/subprocess-posix.c
}
pthread_sigmask(SIG_SETMASK, &oldmask, NULL);
if (fres < 0)
goto done;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#14973 should fix this also. That PR seems like it's ready for merge except a small comment, so I think it's better to merge that instead of creating conflicts.

Copy link
Copy Markdown
Contributor Author

@na-na-hi na-na-hi May 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That PR seems like it's ready for merge except a small comment

I don't think so. The posix_spawn question remains unanswered regarding practical interaction responsiveness (as opposed to the "dispatch" test which doesn't map to responsiveness) and platform support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants