(API Change) Pass data to get_properties when possible
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user