camerad: revert tbuffer dispatch change (#19589)

albatross
Adeeb Shihadeh 2020-12-25 15:18:00 -08:00 committed by GitHub
parent ce48d3c91e
commit 15cd71707d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}