OSDN Git Service

camera2/3: Add protection to callback processing call
authorZhijun He <zhijunhe@google.com>
Thu, 6 Jun 2013 03:00:09 +0000 (20:00 -0700)
committerZhijun He <zhijunhe@google.com>
Thu, 6 Jun 2013 17:42:40 +0000 (10:42 -0700)
commit62a8f67f33faf19d0ff815672dd19bb71dd0d650
tree3a88fd9b3cc9e795e60c8c37117db55f5ad39bef
parent254446a80cb13d5beb606bfc3e60a17473869478
camera2/3: Add protection to callback processing call

Callback stream in callbackprocessor could be delleted while process or
discard callback are ongoing, which leads CpuConsumer related call crash.

Bug 9303911

Change-Id: Ib6137e512208e5603468eba166640729b744e8f9
services/camera/libcameraservice/camera2/CallbackProcessor.cpp