Set defaults automatically

Automatically query defaults for sources/outputs/encoders and set them
before calling create
This commit is contained in:
jp9000
2014-03-16 17:42:37 -07:00
parent 3f771cf631
commit 3ed647b8a0
7 changed files with 11 additions and 10 deletions

View File

@@ -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;
}