camerad: revert tbuffer dispatch change (#19589)
parent
ce48d3c91e
commit
15cd71707d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue