mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpp_dec]:add debug log for mpi thread destory
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@559 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -566,7 +566,7 @@ void *mpp_dec_parser_thread(void *data)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
mpp_log("mpp_dec_parser_thread exit");
|
||||||
if (NULL != task.hnd && task_dec->valid) {
|
if (NULL != task.hnd && task_dec->valid) {
|
||||||
mpp_buf_slot_set_flag(packet_slots, task_dec->input, SLOT_CODEC_READY);
|
mpp_buf_slot_set_flag(packet_slots, task_dec->input, SLOT_CODEC_READY);
|
||||||
mpp_buf_slot_set_flag(packet_slots, task_dec->input, SLOT_HAL_INPUT);
|
mpp_buf_slot_set_flag(packet_slots, task_dec->input, SLOT_HAL_INPUT);
|
||||||
@@ -575,6 +575,7 @@ void *mpp_dec_parser_thread(void *data)
|
|||||||
mpp_buffer_put(task.hal_pkt_buf_in);
|
mpp_buffer_put(task.hal_pkt_buf_in);
|
||||||
}
|
}
|
||||||
mpp_buffer_group_clear(mpp->mPacketGroup);
|
mpp_buffer_group_clear(mpp->mPacketGroup);
|
||||||
|
mpp_log("mpp_dec_parser_thread exit ok");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -695,6 +696,7 @@ void *mpp_dec_hal_thread(void *data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mpp_log("mpp_dec_hal_thread exit ok");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -85,7 +85,9 @@ MPP_RET Mpp::init(MppCtxType type, MppCodingType coding)
|
|||||||
mpp_dec_init(mDec, coding);
|
mpp_dec_init(mDec, coding);
|
||||||
|
|
||||||
mThreadCodec = new MppThread(mpp_dec_parser_thread, this);
|
mThreadCodec = new MppThread(mpp_dec_parser_thread, this);
|
||||||
|
mpp_log("mThreadCodec = %p",mThreadCodec);
|
||||||
mThreadHal = new MppThread(mpp_dec_hal_thread, this);
|
mThreadHal = new MppThread(mpp_dec_hal_thread, this);
|
||||||
|
mpp_log("mThreadHal = %p",mThreadHal);
|
||||||
|
|
||||||
mpp_buffer_group_get_internal(&mInternalGroup, MPP_BUFFER_TYPE_ION);
|
mpp_buffer_group_get_internal(&mInternalGroup, MPP_BUFFER_TYPE_ION);
|
||||||
mpp_buffer_group_get_internal(&mPacketGroup, MPP_BUFFER_TYPE_ION);
|
mpp_buffer_group_get_internal(&mPacketGroup, MPP_BUFFER_TYPE_ION);
|
||||||
|
@@ -64,6 +64,7 @@ void MppThread::stop()
|
|||||||
if (MPP_THREAD_UNINITED != mStatus) {
|
if (MPP_THREAD_UNINITED != mStatus) {
|
||||||
lock();
|
lock();
|
||||||
mStatus = MPP_THREAD_STOPPING;
|
mStatus = MPP_THREAD_STOPPING;
|
||||||
|
mpp_log("MPP_THREAD_STOPPING status set mThread %p",this);
|
||||||
signal();
|
signal();
|
||||||
unlock();
|
unlock();
|
||||||
void *dummy;
|
void *dummy;
|
||||||
|
Reference in New Issue
Block a user