(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

@@ -197,8 +197,10 @@ static void flv_output_data(void *data, struct encoder_packet *packet)
}
}
static obs_properties_t *flv_output_properties(void)
static obs_properties_t *flv_output_properties(void *unused)
{
UNUSED_PARAMETER(unused);
obs_properties_t *props = obs_properties_create();
obs_properties_add_text(props, "path",

View File

@@ -565,8 +565,10 @@ static void rtmp_stream_defaults(obs_data_t *defaults)
obs_data_set_default_int(defaults, OPT_DROP_THRESHOLD, 600);
}
static obs_properties_t *rtmp_stream_properties(void)
static obs_properties_t *rtmp_stream_properties(void *unused)
{
UNUSED_PARAMETER(unused);
obs_properties_t *props = obs_properties_create();
obs_properties_add_int(props, OPT_DROP_THRESHOLD,