commit | be6fd201b9a04fe0f8fd409f10595ddb41832591 | [log] [tgz] |
---|---|---|
author | Nipun Kwatra <nkwatra@google.com> | Wed Aug 18 15:19:19 2010 -0700 |
committer | Nipun Kwatra <nkwatra@google.com> | Fri Aug 20 14:06:48 2010 -0700 |
tree | d2f5b13ca7fde33c24c488d195fa2483c4d5a271 | |
parent | 3eb2ff224a12b5670f4f62f07a47ffb2fde01548 [diff] |
setParamMaxFileDurationUs should allow zero time input as per API of setMaxDuration. according to MediaRecorder::setMaxDuration documentation we should disable duration limit when zero or negative time is passed. Currently setParamMaxFileDurationUs was treating zero/negative as an error case. Fixed that. Change-Id: I468c3bcc74cb5a34ee3e172cef5147550d6be096