commit | fb45748a1e1d0c4913cec195693c85bfdc45bd26 | [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 | cf63ca0b2e196a95e2e59daab2bc4f4a9ad6e370 | |
parent | 4d42ccd1579da53aaaf132a6ad26a06e2baa5b98 [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