mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-10 11:30:04 +08:00
[vpu_mem_legacy]: buffer group create
1.limit buffer count for create vpu_mem_pool case 2.remove limit buffer print in mpp_buffer_impl Change-Id: I88daa0204d8858e882ac3255ef3a95e0853ae2f2 Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
This commit is contained in:
@@ -246,7 +246,8 @@ MPP_RET mpp_buffer_create(const char *tag, const char *caller,
|
||||
}
|
||||
|
||||
if (group->limit_count && group->buffer_count >= group->limit_count) {
|
||||
mpp_err_f("group %d reach count limit %d\n", group->group_id, group->limit_count);
|
||||
if (group->log_runtime_en)
|
||||
mpp_log_f("group %d reach count limit %d\n", group->group_id, group->limit_count);
|
||||
ret = MPP_NOK;
|
||||
goto RET;
|
||||
}
|
||||
|
Reference in New Issue
Block a user