mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
mac-capture: Inline content_changed function
This commit is contained in:
parent
ea9350bcbf
commit
0207531910
@ -947,17 +947,6 @@ static bool build_application_list(struct screen_capture *sc,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool content_changed(struct screen_capture *sc, obs_properties_t *props)
|
|
||||||
{
|
|
||||||
screen_capture_build_content_list(sc);
|
|
||||||
|
|
||||||
build_display_list(sc, props);
|
|
||||||
build_window_list(sc, props);
|
|
||||||
build_application_list(sc, props);
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool content_settings_changed(void *data, obs_properties_t *props,
|
static bool content_settings_changed(void *data, obs_properties_t *props,
|
||||||
obs_property_t *list
|
obs_property_t *list
|
||||||
__attribute__((unused)),
|
__attribute__((unused)),
|
||||||
@ -1006,7 +995,12 @@ static bool content_settings_changed(void *data, obs_properties_t *props,
|
|||||||
sc->show_hidden_windows =
|
sc->show_hidden_windows =
|
||||||
obs_data_get_bool(settings, "show_hidden_windows");
|
obs_data_get_bool(settings, "show_hidden_windows");
|
||||||
|
|
||||||
return content_changed(sc, props);
|
screen_capture_build_content_list(sc);
|
||||||
|
build_display_list(sc, props);
|
||||||
|
build_window_list(sc, props);
|
||||||
|
build_application_list(sc, props);
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static obs_properties_t *screen_capture_properties(void *data)
|
static obs_properties_t *screen_capture_properties(void *data)
|
||||||
|
Loading…
Reference in New Issue
Block a user