Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 98a5e2d6 authored by Paras Nagda's avatar Paras Nagda Committed by Linux Build Service Account
Browse files

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
parent bd117574
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment