[mpp_dec]: add input packet buffer clear to hal thread

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@365 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-10-12 22:47:57 +00:00
parent 047d6a6495
commit 54ebf67129
2 changed files with 12 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ Mpp::Mpp(MppCtxType type, MppCodingType coding)
mpp_buffer_group_get_internal(&mInternalGroup, MPP_BUFFER_TYPE_ION);
mpp_buffer_group_get_internal(&mPacketGroup, MPP_BUFFER_TYPE_ION);
mpp_buffer_group_limit_config(mPacketGroup, 0, 4);
mpp_buffer_group_limit_config(mPacketGroup, 0, 2);
} break;
case MPP_CTX_ENC : {
@@ -226,4 +226,8 @@ MPP_RET Mpp::get_packet(MppPacket *packet)
}
return MPP_OK;
}
MPP_RET Mpp::control(MpiCmd cmd, MppParam param)
{
return MPP_OK;
}