Release the video frame buffer to fix the memory leak issue on emulator

The camera video recording crashes randomly on emulator.
It's caused by the memory leak issue, the emulator camera HAL does not release
recording frames properly in its releaseRecordingFrame method.

Change-Id: Ib6ad4647856cb6b69695a6172692fcff1819672b
Signed-off-by: Jun Tian <jun.j.tian@intel.com>
Signed-off-by: Chang Panfeng <pangfengx.chang@intel.com>
Signed-off-by: Igor Murashkin <iam@google.com>
2 files changed