OSDN Git Service

Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.: DO...
authorIgor Murashkin <iam@google.com>
Tue, 18 Dec 2012 21:40:32 +0000 (13:40 -0800)
committerIgor Murashkin <iam@google.com>
Thu, 10 Jan 2013 19:46:11 +0000 (11:46 -0800)
commit1f51808ad12e52b44097b4bbe0cfb454ed21687f
tree21f6c0bf0497528253782d6cab1f56de385a8d29
parentd887503095926eadfefefdc07fcedaff51e4f07d
Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.: DO NOT MERGE

Producer would wait for buffers to be released so it could dequeue into them.
Since the test never acquired/released buffers, it would run out, and then
the HAL would deadlock when trying to shutdown since the producing thread
would never finish.

Change-Id: I123f36d87a2e72a2c42d942c975c02b8bd3f9f1a
tests/camera2/CameraFrameTests.cpp