diff options
author | Paras Nagda <pnagda@codeaurora.org> | 2014-09-24 15:43:48 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:24:05 -0600 |
commit | 96eb2b8a7b496fa7e3b68e68e2186354e6210d44 (patch) | |
tree | 97e6bb87ae1b682f1c3b750431ce464f4527a089 /media/libmedia/MediaProfiles.cpp | |
parent | 1fc086f2e9e71a9a983560acb350817c2d5dd8e9 (diff) | |
download | frameworks_av-96eb2b8a7b496fa7e3b68e68e2186354e6210d44.zip frameworks_av-96eb2b8a7b496fa7e3b68e68e2186354e6210d44.tar.gz frameworks_av-96eb2b8a7b496fa7e3b68e68e2186354e6210d44.tar.bz2 |
libstagefright: Fix MPEG4Writer crash when internal memory is almost full.
- Camcoder recording crashes when internal memory is almost full.
- crash happens if there is no space to write even first video frame.
as soon as first video frame comes file limit exceeded information
is given back to recorder and timestamp of video is not updated.
since video timestamp is not proper crash is seen
when comparing it with audio timestamp.
- check is added while doing comparision of timestamps and
reporting error in track stop() so recorded file is not saved to
memory.
Change-Id: I69e8bad62ab03ce01de5cbdb13f8ea841b787fcb
Diffstat (limited to 'media/libmedia/MediaProfiles.cpp')
0 files changed, 0 insertions, 0 deletions