diff options
| author | Tyler Luu <tluu@ti.com> | 2011-09-17 02:24:05 -0500 |
|---|---|---|
| committer | Iliyan Malchev <malchev@google.com> | 2011-09-17 16:08:25 -0700 |
| commit | ec04f2cba99eb1e58886650f336605385ba502b0 (patch) | |
| tree | 1d91cdbbc21b0f535f510e618bb140739682844a /camera/CameraParameters.cpp | |
| parent | 1f7a2a788b625b09a2bc91232cf2affc899764f2 (diff) | |
| download | hardware_ti_omap4-ec04f2cba99eb1e58886650f336605385ba502b0.zip hardware_ti_omap4-ec04f2cba99eb1e58886650f336605385ba502b0.tar.gz hardware_ti_omap4-ec04f2cba99eb1e58886650f336605385ba502b0.tar.bz2 | |
CameraHal: Error handling before sending frames
Adding a few error checks before sending frames to make
sure we have the proper conditions to send a frame.
Fixes a bug where FillBufferDone gets preempted by the stop
path and by the time it returns the buffers and subscribers
are freed. Adding checks in send frame context since it is
protected by a Mutex.
Change-Id: I860bee796669606e1ec3e26e19916f386fc3e9aa
Diffstat (limited to 'camera/CameraParameters.cpp')
0 files changed, 0 insertions, 0 deletions
