Write a log message if optimise fails.

This commit is contained in:
Damiano Galassi committed 2018-06-01 17:43:28 +02:00
1 parent de38f09878
commit 86e2f61c2c
1 file changed
+2
+2
View File
@@ -762,6 +762,8 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
} else {
[_logger writeErrorToLog:error];
}
} else {
[_logger writeToLog:@"Couldn't optimize file"];
}
if (!noErr) {