win-capture: Allow window capturing of current process

Allows window capture to capture windows of the current process, and
adds windows of the current process to the end of the window list.
This commit is contained in:
jp9000
2016-05-13 02:09:04 -07:00
parent a140d749f2
commit 8d520b970d
4 changed files with 29 additions and 7 deletions

View File

@@ -1579,7 +1579,7 @@ static obs_properties_t *game_capture_properties(void *data)
p = obs_properties_add_list(ppts, SETTING_CAPTURE_WINDOW, TEXT_WINDOW,
OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_STRING);
obs_property_list_add_string(p, "", "");
fill_window_list(p, INCLUDE_MINIMIZED);
fill_window_list(p, INCLUDE_MINIMIZED, false);
obs_property_set_modified_callback(p, window_changed_callback);