Reduce ffprobe log noise in debugMode
This commit is contained in:
@@ -103,6 +103,7 @@ Future<FFProbeProps?> getVideoPropsAsync(File originalFile) async {
|
||||
await session.getReturnCode();
|
||||
final mediaInfo = await completer.future;
|
||||
if (kDebugMode) {
|
||||
log("uncomment below line to see ffprobe logs");
|
||||
// logs.forEach((key, value) {
|
||||
// log("log for session $key: $value", name: "FFprobeKit");
|
||||
// });
|
||||
|
||||
@@ -255,7 +255,7 @@ Stream<List<FileMLInstruction>> fetchEmbeddingsAndInstructions(
|
||||
if (batchToYield.isNotEmpty) {
|
||||
_logger.info("queueing indexing for ${batchToYield.length}");
|
||||
yield batchToYield;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Returns a list of faces from the given remote fileML. null if the version is less than the current version
|
||||
|
||||
Reference in New Issue
Block a user