Better error message.
This commit is contained in:
1 parent
55dc84d4ef
commit
637dd62adb
1 file changed
+1
-1
+1
-1
@@ -721,7 +721,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
|||||||
// Open the mp4 file
|
// Open the mp4 file
|
||||||
if (![self startWriting]) {
|
if (![self startWriting]) {
|
||||||
if (outError) {
|
if (outError) {
|
||||||
*outError = MP42Error(@"The file could not be saved.", @"You may do not have sufficient permissions for this operation.", 101);
|
*outError = MP42Error(@"The file could not be saved.", @"You may do not have sufficient permissions for this operation, or the mp4 file is corrupted.", 101);
|
||||||
[_logger writeErrorToLog:*outError];
|
[_logger writeErrorToLog:*outError];
|
||||||
}
|
}
|
||||||
return NO;
|
return NO;
|
||||||
|
|||||||
Reference in new issue
Block a user