diff options
author | Emilian Peev <epeev@mm-sol.com> | 2012-10-30 14:21:59 +0200 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-26 20:18:39 +0200 |
commit | 005d358cbcf413658d3e5204b699d9bf7367c256 (patch) | |
tree | 7b9832a65cc29ba74e236b2002bb2f77c4d32ef0 /camera/BufferSourceAdapter.cpp | |
parent | 02bdf04d528b6bbc485606d3cf7c66203aafb87e (diff) | |
download | hardware_ti_omap4-005d358cbcf413658d3e5204b699d9bf7367c256.zip hardware_ti_omap4-005d358cbcf413658d3e5204b699d9bf7367c256.tar.gz hardware_ti_omap4-005d358cbcf413658d3e5204b699d9bf7367c256.tar.bz2 |
Camera_test: Free all previously added buffer slots
- Incrementally adding new buffer slots to a 'BufferQueue'
will eventually hit the limit of available buffer slots.
To avoid that before adding new ones, we reset the buffer
count, which should free all previously added slots.
Change-Id: I6f466baf49e03be977a63dd75a2ab6168dbc9add
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Diffstat (limited to 'camera/BufferSourceAdapter.cpp')
0 files changed, 0 insertions, 0 deletions