mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[mpp]: add error log on mpp create failed
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@314 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -97,8 +97,10 @@ Mpp::Mpp(MppCtxType type, MppCodingType coding)
|
|||||||
mPacketGroup && mFrameGroup) {
|
mPacketGroup && mFrameGroup) {
|
||||||
mThreadCodec->start();
|
mThreadCodec->start();
|
||||||
mThreadHal->start();
|
mThreadHal->start();
|
||||||
} else
|
} else {
|
||||||
|
mpp_err("error found on mpp initialization\n");
|
||||||
clear();
|
clear();
|
||||||
|
}
|
||||||
|
|
||||||
mpp_env_get_u32("mpp_debug", &mpp_debug, 0);
|
mpp_env_get_u32("mpp_debug", &mpp_debug, 0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user