Updated error messages in MPPImage Utils
This commit is contained in:
parent
cebfa1cdac
commit
da7013c746
|
@ -126,7 +126,8 @@ static void FreeDataProviderReleaseCallback(void *info, const void *data, size_t
|
||||||
if (convertError != kvImageNoError) {
|
if (convertError != kvImageNoError) {
|
||||||
[MPPCommonUtils createCustomError:error
|
[MPPCommonUtils createCustomError:error
|
||||||
withCode:MPPTasksErrorCodeInternalError
|
withCode:MPPTasksErrorCodeInternalError
|
||||||
description:@"Image format conversion failed."];
|
description:@"Some error occured while preprocessing the input image. "
|
||||||
|
@"Please verify that the image is not corrupted."];
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user