mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpp_thread]: fix compile error on windows and linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@774 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
10
mpp/mpp.cpp
10
mpp/mpp.cpp
@@ -84,10 +84,8 @@ MPP_RET Mpp::init(MppCtxType type, MppCodingType coding)
|
||||
mDec->mpp = this;
|
||||
mpp_dec_init(mDec, coding);
|
||||
|
||||
mThreadCodec = new MppThread(mpp_dec_parser_thread, this);
|
||||
mpp_log("mThreadCodec = %p", mThreadCodec);
|
||||
mThreadHal = new MppThread(mpp_dec_hal_thread, this);
|
||||
mpp_log("mThreadHal = %p", mThreadHal);
|
||||
mThreadCodec = new MppThread(mpp_dec_parser_thread, this, "mpp_dec_parser");
|
||||
mThreadHal = new MppThread(mpp_dec_hal_thread, this, "mpp_dec_hal");
|
||||
|
||||
mpp_buffer_group_get_internal(&mInternalGroup, MPP_BUFFER_TYPE_ION);
|
||||
mpp_buffer_group_get_internal(&mPacketGroup, MPP_BUFFER_TYPE_ION);
|
||||
@@ -100,8 +98,8 @@ MPP_RET Mpp::init(MppCtxType type, MppCodingType coding)
|
||||
mTasks = new mpp_list((node_destructor)NULL);
|
||||
|
||||
mpp_enc_init(&mEnc, coding);
|
||||
mThreadCodec = new MppThread(mpp_enc_control_thread, this);
|
||||
mThreadHal = new MppThread(mpp_enc_hal_thread, this);
|
||||
mThreadCodec = new MppThread(mpp_enc_control_thread, this, "mpp_enc_ctrl");
|
||||
mThreadHal = new MppThread(mpp_enc_hal_thread, this, "mpp_enc_hal");
|
||||
|
||||
mpp_buffer_group_get_internal(&mInternalGroup, MPP_BUFFER_TYPE_ION);
|
||||
mpp_buffer_group_get_internal(&mPacketGroup, MPP_BUFFER_TYPE_NORMAL);
|
||||
|
Reference in New Issue
Block a user