From ffe4c767c3f88965fcd275f50fadaa80be3278ca Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 27 Feb 2020 03:22:04 -0800 Subject: [PATCH] win-capture: Move window capture method below window --- plugins/win-capture/window-capture.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/win-capture/window-capture.c b/plugins/win-capture/window-capture.c index 9e43aee05..8534016e9 100644 --- a/plugins/win-capture/window-capture.c +++ b/plugins/win-capture/window-capture.c @@ -306,6 +306,12 @@ static obs_properties_t *wc_properties(void *data) obs_property_t *p; + p = obs_properties_add_list(ppts, "window", TEXT_WINDOW, + OBS_COMBO_TYPE_LIST, + OBS_COMBO_FORMAT_STRING); + fill_window_list(p, EXCLUDE_MINIMIZED, NULL); + obs_property_set_modified_callback(p, wc_window_changed); + 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); @@ -314,12 +320,6 @@ static obs_properties_t *wc_properties(void *data) obs_property_list_item_disable(p, 1, !wc->wgc_supported); obs_property_set_modified_callback(p, wc_capture_method_changed); - p = obs_properties_add_list(ppts, "window", TEXT_WINDOW, - OBS_COMBO_TYPE_LIST, - OBS_COMBO_FORMAT_STRING); - fill_window_list(p, EXCLUDE_MINIMIZED, NULL); - obs_property_set_modified_callback(p, wc_window_changed); - p = obs_properties_add_list(ppts, "priority", TEXT_MATCH_PRIORITY, OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT); obs_property_list_add_int(p, TEXT_MATCH_TITLE, WINDOW_PRIORITY_TITLE);