Skip to content

Commit 5fa7ea5

Browse files
authored
Merge pull request DistroAV#1427 from DistroAV:future-behavior-crash
Fix type used in log message formatting for behavior detection.
2 parents ea234eb + 230f509 commit 5fa7ea5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/ndi-source.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,10 +1012,10 @@ void ndi_source_update(void *data, obs_data_t *settings)
10121012

10131013
} else {
10141014
// Fallback option. If the behavior is invalid, force it to "Keep Active" as it most likely came from the 4.14.x version.
1015-
obs_log(LOG_DEBUG, "'%s' ndi_source_update: Invalid or unknown behavior detected :'%s' forced to '%d'",
1015+
obs_log(LOG_DEBUG, "'%s' ndi_source_update: Invalid or unknown behavior detected :'%d' forced to '%d'",
10161016
obs_source_name, behavior, PROP_BEHAVIOR_KEEP_ACTIVE);
10171017
obs_log(LOG_WARNING,
1018-
"WARN-414 - Invalid or unknown behavior detected in config file for source '%s': '%s' forced to '%d'",
1018+
"WARN-414 - Invalid or unknown behavior detected in config file for source '%s': '%d' forced to '%d'",
10191019
obs_source_name, behavior, PROP_BEHAVIOR_KEEP_ACTIVE);
10201020
obs_data_set_int(settings, PROP_BEHAVIOR, PROP_BEHAVIOR_KEEP_ACTIVE);
10211021
s->config.behavior = PROP_BEHAVIOR_KEEP_ACTIVE;

0 commit comments

Comments
 (0)