diff options
author | James Dong <jdong@google.com> | 2010-09-02 11:19:11 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-09-02 20:10:00 -0700 |
commit | 1f90c4b3fda9dbd2824d67fd679f850572f114dc (patch) | |
tree | 74e1debb8712fcd84d5b7bb269052a277a74cec4 /include/media | |
parent | bd057752e8054ff516b9d2c17b70b666fc791559 (diff) | |
download | frameworks_av-1f90c4b3fda9dbd2824d67fd679f850572f114dc.zip frameworks_av-1f90c4b3fda9dbd2824d67fd679f850572f114dc.tar.gz frameworks_av-1f90c4b3fda9dbd2824d67fd679f850572f114dc.tar.bz2 |
Better file size estimate
When the recorded file becomes large, the metadata size can
no longer be ignored. This makes it possible to save the
recorded file when the storage becomes almost full at the
end of the recording session.
Change-Id: Ief038080f825c9946ce550949c03e914aec1e31a
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/MPEG4Writer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/MPEG4Writer.h b/include/media/stagefright/MPEG4Writer.h index 9716e98..52b93e1 100644 --- a/include/media/stagefright/MPEG4Writer.h +++ b/include/media/stagefright/MPEG4Writer.h @@ -144,6 +144,7 @@ private: inline size_t write(const void *ptr, size_t size, size_t nmemb, FILE* stream); bool exceedsFileSizeLimit(); + bool use32BitFileOffset() const; bool exceedsFileDurationLimit(); void trackProgressStatus(const Track* track, int64_t timeUs, status_t err = OK); |