feat(capture/windows): hook APIs to avoid output reparenting that breaks DDA (#3530)
* Revert "feat(ddprobe): allow to manually specify gpu preference (#3521)" This reverts commit6a233cbcbf. * Keep display revert delay input type change from6a233cbcb* Remove ddprobe * feat(capture/windows): hook APIs to avoid output reparenting that breaks DDA
This commit is contained in:
parent
c369e8e5b6
commit
8392bdc98f
14 changed files with 51 additions and 519 deletions
|
|
@ -90,6 +90,7 @@ dependencies=(
|
|||
"mingw-w64-ucrt-x86_64-curl-winssl"
|
||||
"mingw-w64-ucrt-x86_64-doxygen" # Optional, for docs... better to install official Doxygen
|
||||
"mingw-w64-ucrt-x86_64-graphviz" # Optional, for docs
|
||||
"mingw-w64-ucrt-x86_64-MinHook"
|
||||
"mingw-w64-ucrt-x86_64-miniupnpc"
|
||||
"mingw-w64-ucrt-x86_64-nlohmann-json"
|
||||
"mingw-w64-ucrt-x86_64-nodejs"
|
||||
|
|
|
|||
|
|
@ -848,37 +848,6 @@ editing the `conf` file in a text editor. Use the examples as reference.
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
### gpu_preference
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Description</td>
|
||||
<td colspan="2">
|
||||
Specify the GPU preference for the Sunshine process.
|
||||
<br>
|
||||
<br>
|
||||
If set to negative number (-1 by default), Sunshine will try to detect the best GPU for the streamed display, but if it fails you will get a black screen.
|
||||
<br>
|
||||
Setting it to 0 will allow Windows to try and select the best GPU.
|
||||
<br>
|
||||
Setting it to 1 and above will prioritize the GPU that matches this number (the number has to be guessed, but it starts at 1 and increases).
|
||||
@note{Applies to Windows only.}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Default</td>
|
||||
<td colspan="2">@code{}
|
||||
-1
|
||||
@endcode</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Example</td>
|
||||
<td colspan="2">@code{}
|
||||
2
|
||||
@endcode</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### output_name
|
||||
|
||||
<table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue