am e915b0ef: am d973a533: Merge "Lower the lower bound for max file duration check" into gingerbread
Merge commit 'e915b0ef5d574022dfeffc9b2b61e21c1433c89c' * commit 'e915b0ef5d574022dfeffc9b2b61e21c1433c89c': Lower the lower bound for max file duration check
This commit is contained in:
@@ -345,7 +345,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user