mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 13:04:54 -04:00
win-capture: Disable correct capture method index
When "Automatic" was added, the index for the item that needed to be disabled became incorrect (to disable WCG).
This commit is contained in:
1 parent
a0f700e737
commit
d5974b9e30
1 file changed
+1
-1
@@ -323,7 +323,7 @@ static obs_properties_t *wc_properties(void *data)
|
||||
obs_property_list_add_int(p, TEXT_METHOD_AUTO, METHOD_AUTO);
|
||||
obs_property_list_add_int(p, TEXT_METHOD_BITBLT, METHOD_BITBLT);
|
||||
obs_property_list_add_int(p, TEXT_METHOD_WGC, METHOD_WGC);
|
||||
obs_property_list_item_disable(p, 1, !wc->wgc_supported);
|
||||
obs_property_list_item_disable(p, 2, !wc->wgc_supported);
|
||||
obs_property_set_modified_callback(p, wc_capture_method_changed);
|
||||
|
||||
p = obs_properties_add_list(ppts, "priority", TEXT_MATCH_PRIORITY,
|
||||
|
||||
Reference in new issue
Block a user