Skip to content

Commit

Permalink
chore: run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Oct 17, 2023
1 parent feed833 commit daef5f7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/plugin-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ static bool add_source(struct dvd_source *context, const char *id)
if (!obs_source_add_active_child(context->source, target)) {
result = false;
remove_source(context);
obs_log(LOG_WARNING, "Can't add %s, as it would cause recursion", id);
obs_log(LOG_WARNING,
"Can't add %s, as it would cause recursion",
id);
}
obs_source_release(target);
}
Expand Down Expand Up @@ -431,8 +433,8 @@ static void *dvd_source_create(obs_data_t *settings, obs_source_t *source)
{
struct dvd_source *context = bzalloc(sizeof(struct dvd_source));
context->source = source;
context->logo_source = obs_source_create_private(
"image_source", SOURCE_NAME, settings);
context->logo_source = obs_source_create_private("image_source",
SOURCE_NAME, settings);
#ifndef MAC_OS
context->color_filter = obs_source_create_private(
"color_filter", FILTER_NAME, settings);
Expand Down Expand Up @@ -487,7 +489,8 @@ OBS_MODULE_USE_DEFAULT_LOCALE(PLUGIN_NAME, "en-US")
bool obs_module_load(void)
{
obs_register_source(&dvd_source_info);
obs_log(LOG_INFO, "plugin loaded successfully (version %s)", PLUGIN_VERSION);
obs_log(LOG_INFO, "plugin loaded successfully (version %s)",
PLUGIN_VERSION);
return true;
}

Expand Down

0 comments on commit daef5f7

Please sign in to comment.