add missing break statements while processing logs in native platforms

This commit is contained in:
Taner Sener 2021-11-08 00:21:59 +00:00
parent eee8d852b9
commit fc747666c5
2 changed files with 6 additions and 0 deletions

View File

@ -272,13 +272,16 @@ public class FFmpegKitConfig {
return;
}
}
break;
case PRINT_LOGS_WHEN_NO_CALLBACKS_DEFINED: {
if (globalCallbackDefined || sessionCallbackDefined) {
return;
}
}
break;
case ALWAYS_PRINT_LOGS: {
}
break;
}
// PRINT LOGS

View File

@ -541,13 +541,16 @@ void process_log(long sessionId, int levelValue, AVBPrint* logMessage) {
return;
}
}
break;
case LogRedirectionStrategyPrintLogsWhenNoCallbacksDefined: {
if (globalCallbackDefined || sessionCallbackDefined) {
return;
}
}
break;
case LogRedirectionStrategyAlwaysPrintLogs: {
}
break;
}
// PRINT LOGS