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

Commit e915b0ef authored by James Dong's avatar James Dong Committed by Android Git Automerger
Browse files

am d973a533: Merge "Lower the lower bound for max file duration check" into gingerbread

Merge commit 'd973a533' into gingerbread-plus-aosp

* commit 'd973a533':
  Lower the lower bound for max file duration check
parents 903d445f d973a533
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ status_t StagefrightRecorder::setParamVideoEncodingBitRate(int32_t bitRate) {

status_t StagefrightRecorder::setParamMaxFileDurationUs(int64_t timeUs) {
    LOGV("setParamMaxFileDurationUs: %lld us", timeUs);
    if (timeUs <= 1000000LL) {  // XXX: 1 second
    if (timeUs <= 100000LL) {  // XXX: 100 milli-seconds
        LOGE("Max file duration is too short: %lld us", timeUs);
        return BAD_VALUE;
    }