Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions plugins/win-capture/data/locale/en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ WindowCapture="Window Capture"
WindowCapture.Window="Window"
WindowCapture.Method="Capture Method"
WindowCapture.Method.Auto="Automatic"
WindowCapture.Method.BitBlt="BitBlt (Windows 7 and up)"
WindowCapture.Method.WindowsGraphicsCapture="Windows 10 (1903 and up)"
WindowCapture.Method.BitBlt="Legacy (BitBlt)"
WindowCapture.Method.WindowsGraphicsCapture="Modern (WGC)"
WindowCapture.Priority="Window Match Priority"
WindowCapture.Priority.Title="Window title must match"
WindowCapture.Priority.Class="Match title, otherwise find window of same type"
Expand All @@ -19,8 +19,8 @@ PremultipliedAlpha="Premultiplied Alpha"
Monitor="Display"
PrimaryMonitor="Primary Monitor"
Method="Capture Method"
Method.DXGI="DXGI Desktop Duplication"
Method.WindowsGraphicsCapture="Windows 10 (1903 and up)"
Method.DXGI="Legacy (DXGI)"
Method.WindowsGraphicsCapture="Modern (WGC)"
GameCapture="Game Capture"
GameCapture.AnyFullscreen="Capture any fullscreen application"
GameCapture.CaptureWindow="Capture specific window"
Expand Down
4 changes: 2 additions & 2 deletions plugins/win-capture/duplicator-monitor-capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -799,9 +799,9 @@ static obs_properties_t *duplicator_capture_properties(void *data)
obs_property_t *p =
obs_properties_add_list(props, "method", TEXT_METHOD, OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);
obs_property_list_add_int(p, TEXT_METHOD_AUTO, METHOD_AUTO);
obs_property_list_add_int(p, TEXT_METHOD_DXGI, METHOD_DXGI);
obs_property_list_add_int(p, TEXT_METHOD_WGC, METHOD_WGC);
obs_property_list_item_disable(p, 2, !wgc_supported);
obs_property_list_add_int(p, TEXT_METHOD_DXGI, METHOD_DXGI);
obs_property_list_item_disable(p, 1, !wgc_supported);
obs_property_set_modified_callback(p, display_capture_method_changed);

obs_property_t *monitors = obs_properties_add_list(props, "monitor_id", TEXT_MONITOR, OBS_COMBO_TYPE_LIST,
Expand Down
4 changes: 2 additions & 2 deletions plugins/win-capture/window-capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,9 @@ static obs_properties_t *wc_properties(void *data)

p = obs_properties_add_list(ppts, "method", TEXT_METHOD, OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);
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, 2, !wgc_supported);
obs_property_list_add_int(p, TEXT_METHOD_BITBLT, METHOD_BITBLT);
obs_property_list_item_disable(p, 1, !wgc_supported);
obs_property_set_modified_callback(p, wc_capture_method_changed);

p = obs_properties_add_list(ppts, "priority", TEXT_MATCH_PRIORITY, OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);
Expand Down