mac-capture: Get cursor visible setting on create

When display capture is created, the hide_cursor variable is not
initialized, so just initialize it to the setting in the create
function.
This commit is contained in:
jp9000 2015-03-31 15:39:00 -07:00
parent a892fa9e33
commit 35a4acede0

View File

@ -261,6 +261,7 @@ static void *display_capture_create(obs_data_t *settings,
struct display_capture *dc = bzalloc(sizeof(struct display_capture));
dc->source = source;
dc->hide_cursor = !obs_data_get_bool(settings, "show_cursor");
dc->effect = obs_get_default_rect_effect();
if (!dc->effect)