summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-10-19 21:28:47 -0700
committerJames Dong <jdong@google.com>2010-10-19 22:59:22 -0700
commit22b37fa6e0d7abbfa373e5fdf057fc6dcb2474ff (patch)
tree06082fbe3f4c1c8f08aedbb01ad538d206e3f918 /include
parentf4cd9be0390135269e22e42fd2e1fe61fdcf9863 (diff)
downloadframeworks_base-22b37fa6e0d7abbfa373e5fdf057fc6dcb2474ff.zip
frameworks_base-22b37fa6e0d7abbfa373e5fdf057fc6dcb2474ff.tar.gz
frameworks_base-22b37fa6e0d7abbfa373e5fdf057fc6dcb2474ff.tar.bz2
File writer size estimation improvement
o Do not count the reserved space for moov if the meta data size is small o Do not count the extra 1KB disturbing small file estimation. o Reduce the default minimum reserved space from 4 KB to 3 KB. o Estimate the moov size based on both duration AND file size limit is set and set it to the smaller estimated value. low risk change bug - 3111983 Change-Id: I6ac2adb979d8cc12d6b4f1813d000c989add0199
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MPEG4Writer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/MPEG4Writer.h b/include/media/stagefright/MPEG4Writer.h
index cff38b2..bb469e5 100644
--- a/include/media/stagefright/MPEG4Writer.h
+++ b/include/media/stagefright/MPEG4Writer.h
@@ -152,6 +152,7 @@ private:
bool exceedsFileSizeLimit();
bool use32BitFileOffset() const;
bool exceedsFileDurationLimit();
+ bool isFileStreamable() const;
void trackProgressStatus(const Track* track, int64_t timeUs, status_t err = OK);
MPEG4Writer(const MPEG4Writer &);