Reduce ffprobe log noise in debugMode

This commit is contained in:
Neeraj Gupta
2025-05-12 14:51:38 +05:30
parent 03df804868
commit e96888d2c9
2 changed files with 2 additions and 1 deletions

View File

@@ -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");
// });

View File

@@ -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