mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 18:42:07 +08:00
camerad: revert tbuffer dispatch change (#19589)
old-commit-hash: 15cd71707d5f2de0c302577cbcd05b7c989e9a23
This commit is contained in:
@@ -198,12 +198,11 @@ bool CameraBuf::acquire() {
|
||||
pool_acquire(&yuv_pool, cur_yuv_idx);
|
||||
pool_push(&yuv_pool, cur_yuv_idx);
|
||||
|
||||
tbuffer_dispatch(&ui_tb, cur_rgb_idx);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void CameraBuf::release() {
|
||||
tbuffer_dispatch(&ui_tb, cur_rgb_idx);
|
||||
pool_release(&yuv_pool, cur_yuv_idx);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user