forked from obsproject/obs-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win-capture: Don't use FindWindow for game capture keepalive
Using and creating a window can use issues in game capture if multiple game captures are active, so revert back to using a mutex, and just ignore the keepalive check failure if injected inside a UWP program (only check to see if GetLastError reports that it's not found -- if it returns access denied or any other error, assume it's in a UWP program, and ignore the keepalive check).
- Loading branch information
Showing
2 changed files
with
15 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters