Added an error message if we try to save on a folder without the write permission.
This commit is contained in:
1 parent
e2292ba6f4
commit
65e8074829
1 file changed
+3
@@ -691,6 +691,9 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
|
|||||||
[self stopWriting];
|
[self stopWriting];
|
||||||
|
|
||||||
success = [self updateMP4FileWithAttributes:attributes error:outError];
|
success = [self updateMP4FileWithAttributes:attributes error:outError];
|
||||||
|
} else {
|
||||||
|
success = NO;
|
||||||
|
*outError = MP42Error(@"The file could not be saved.", @"You do not have sufficient permissions for this operation.", 101);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user