Release a recording frame only if mCamera exists and is not cleared.
and also call mCamera->stopRecording() only after CameraSource releases all the
outstanding video frames sent from CameraSource to its clients (such as video encoder).

Change-Id: I7eeed4e2f388e77c28668d52c24b5330d3d9ebde
1 file changed
tree: c8d8c3b66854867bd5ba08ef03c9ede0481065c4
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/