mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-11 05:12:06 +08:00
camerad: revert tbuffer dispatch change (#19589)
old-commit-hash: 15cd71707d
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