(API Change) Pass data to get_properties when possible

This commit is contained in:
Palana
2014-09-29 17:36:13 +02:00
parent 74c4932184
commit 94a93abb2b
29 changed files with 76 additions and 36 deletions

View File

@@ -37,8 +37,10 @@ static uint32_t xcompcap_getheight(void* data)
return cc->height();
}
static obs_properties_t *xcompcap_props(void)
static obs_properties_t *xcompcap_props(void *unused)
{
UNUSED_PARAMETER(unused);
return XCompcapMain::properties();
}

View File

@@ -153,8 +153,10 @@ static void xshm_defaults(obs_data_t *defaults)
/**
* Get the properties for the capture
*/
static obs_properties_t *xshm_properties(void)
static obs_properties_t *xshm_properties(void *unused)
{
UNUSED_PARAMETER(unused);
obs_properties_t *props = obs_properties_create();
int_fast32_t screen_max;