Skip to content

Commit

Permalink
Use obs_log
Browse files Browse the repository at this point in the history
  • Loading branch information
cg2121 committed Jul 3, 2023
1 parent a24f371 commit c04e91a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugin-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static void decklink_output_filter_start(void *data, obs_data_t *settings)
decklink_output_filter_stop(filter);

if (!obs_source_enabled(filter->source)) {
blog(LOG_ERROR, "Filter not enabled");
obs_log(LOG_ERROR, "Filter not enabled");
return;
}

Expand Down Expand Up @@ -223,11 +223,11 @@ static void decklink_output_filter_start(void *data, obs_data_t *settings)
filter->active = true;

if (!started) {
blog(LOG_ERROR, "Filter failed to start");
obs_log(LOG_ERROR, "Filter failed to start");
decklink_output_filter_stop(filter);
}

blog(LOG_ERROR, "Filter started successfully");
obs_log(LOG_ERROR, "Filter started successfully");
}

static void decklink_output_filter_update(void *data, obs_data_t *settings)
Expand Down

0 comments on commit c04e91a

Please sign in to comment.