Set defaults automatically
Automatically query defaults for sources/outputs/encoders and set them before calling create
This commit is contained in:
@@ -119,9 +119,7 @@ static void *monitor_capture_create(obs_data_t settings, obs_source_t source)
|
||||
capture = bzalloc(sizeof(struct monitor_capture));
|
||||
capture->opaque_effect = opaque_effect;
|
||||
|
||||
monitor_capture_defaults(settings);
|
||||
update_settings(capture, settings);
|
||||
|
||||
return capture;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user