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 commit 6a233cbcbf.

* Keep display revert delay input type change from 6a233cbcb

* Remove ddprobe

* feat(capture/windows): hook APIs to avoid output reparenting that breaks DDA
This commit is contained in:
Cameron Gutman 2025-01-12 17:11:03 -06:00 committed by GitHub
commit 8392bdc98f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 51 additions and 519 deletions

View file

@ -468,7 +468,6 @@ namespace config {
{}, // capture
{}, // encoder
{}, // adapter_name
-1, // gpu_preference
{}, // output_name
{
@ -1122,7 +1121,6 @@ namespace config {
string_f(vars, "capture", video.capture);
string_f(vars, "encoder", video.encoder);
string_f(vars, "adapter_name", video.adapter_name);
int_f(vars, "gpu_preference", video.gpu_preference);
string_f(vars, "output_name", video.output_name);
generic_f(vars, "dd_configuration_option", video.dd.configuration_option, dd::config_option_from_view);