(API Change) Pass data to get_properties when possible
This commit is contained in:
@@ -732,13 +732,17 @@ static obs_properties_t *coreaudio_properties(bool input)
|
||||
return props;
|
||||
}
|
||||
|
||||
static obs_properties_t *coreaudio_input_properties(void)
|
||||
static obs_properties_t *coreaudio_input_properties(void *unused)
|
||||
{
|
||||
UNUSED_PARAMETER(unused);
|
||||
|
||||
return coreaudio_properties(true);
|
||||
}
|
||||
|
||||
static obs_properties_t *coreaudio_output_properties(void)
|
||||
static obs_properties_t *coreaudio_output_properties(void *unused)
|
||||
{
|
||||
UNUSED_PARAMETER(unused);
|
||||
|
||||
return coreaudio_properties(false);
|
||||
}
|
||||
|
||||
|
@@ -590,8 +590,10 @@ static const char *crop_names[] = {
|
||||
#ifndef COUNTOF
|
||||
#define COUNTOF(x) (sizeof(x)/sizeof(x[0]))
|
||||
#endif
|
||||
static obs_properties_t *display_capture_properties(void)
|
||||
static obs_properties_t *display_capture_properties(void *unused)
|
||||
{
|
||||
UNUSED_PARAMETER(unused);
|
||||
|
||||
obs_properties_t *props = obs_properties_create();
|
||||
|
||||
obs_property_t *list = obs_properties_add_list(props,
|
||||
|
@@ -156,8 +156,10 @@ static void window_capture_defaults(obs_data_t *settings)
|
||||
window_defaults(settings);
|
||||
}
|
||||
|
||||
static obs_properties_t *window_capture_properties(void)
|
||||
static obs_properties_t *window_capture_properties(void *unused)
|
||||
{
|
||||
UNUSED_PARAMETER(unused);
|
||||
|
||||
obs_properties_t *props = obs_properties_create();
|
||||
|
||||
add_window_properties(props);
|
||||
|
Reference in New Issue
Block a user