Fixed a race condition where some recording frames may not be released.

When startRecording() is called before setListener(), recording frames
are sent right after startRecording(), but there is no listener to
release the recording frames. This causes the hang in media server.

bug - 3166356

Change-Id: I19366ca682ef9f6b847590c190c30a15ed32b8e4
2 files changed
tree: 5e0130097b1017a6348c101a5093269a82431fd6
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/