camerad: revert tbuffer dispatch change (#19589)

old-commit-hash: 15cd71707d5f2de0c302577cbcd05b7c989e9a23
This commit is contained in:
Adeeb Shihadeh
2020-12-25 15:18:00 -08:00
committed by GitHub
parent 7dd876805f
commit 4fbefc8e10
+1 -2
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);
}