diff options
author | Chong Zhang <chz@google.com> | 2015-02-23 18:04:16 -0800 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2015-02-25 11:27:21 -0800 |
commit | 7c4820d23b68f748b8dfff3d4bb5b13e9d4811a8 (patch) | |
tree | fd40072d962315e5231ee6ab4cdcc4b8a8810620 /include | |
parent | 9ee53a49860e91c2b012883eef09d669a7829e06 (diff) | |
download | frameworks_av-7c4820d23b68f748b8dfff3d4bb5b13e9d4811a8.zip frameworks_av-7c4820d23b68f748b8dfff3d4bb5b13e9d4811a8.tar.gz frameworks_av-7c4820d23b68f748b8dfff3d4bb5b13e9d4811a8.tar.bz2 |
MPEG4Writer: add software version to mp4 meta
and account for meta data and geo data when estimating moov size
bug: 19460202
Change-Id: I094d15f47dda5e41217181cdb3ac519c00330de5
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/MPEG4Writer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/MPEG4Writer.h b/include/media/stagefright/MPEG4Writer.h index e25c334..a195fe8 100644 --- a/include/media/stagefright/MPEG4Writer.h +++ b/include/media/stagefright/MPEG4Writer.h @@ -91,6 +91,7 @@ private: off64_t mFreeBoxOffset; bool mStreamableFile; off64_t mEstimatedMoovBoxSize; + off64_t mMoovExtraSize; uint32_t mInterleaveDurationUs; int32_t mTimeScale; int64_t mStartTimestampUs; @@ -200,6 +201,8 @@ private: void writeGeoDataBox(); void writeLatitude(int degreex10000); void writeLongitude(int degreex10000); + + void addDeviceMeta(); void writeHdlr(); void writeKeys(); void writeIlst(); |