summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-06-23 00:18:40 -0700
committerJames Dong <jdong@google.com>2010-06-23 14:09:18 -0700
commit39a0b21c65c3bbadc9a3c6b5346b45fac842d0f7 (patch)
tree10f2028a5443198543244d7e43a355c6b6333d08 /include/media
parent73ccafb5b843cdcf9c8f761fc72a69b4b7942aaf (diff)
downloadframeworks_base-39a0b21c65c3bbadc9a3c6b5346b45fac842d0f7.zip
frameworks_base-39a0b21c65c3bbadc9a3c6b5346b45fac842d0f7.tar.gz
frameworks_base-39a0b21c65c3bbadc9a3c6b5346b45fac842d0f7.tar.bz2
Fixed some meta data issues in the recorded mp4 file
- Mainly correcting the location of stbl box which should be a child of minf box. This resolved the issue where the mis-muxed encoded file could not be played by QT/VLC. - Enabled the the recorded tracks by setting the flags to 0x07 by default - Allows for encoding either 32-bit or 64-bit offsets. By default encoding 32-bit offsets to reduce the metadata overhead - Fixed a edts box issue where an empty elst box was used at the end Change-Id: I570621a26714a81dc9400271aa5d3a07b483172f
Diffstat (limited to 'include/media')
-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 d62df46..39d0ea1 100644
--- a/include/media/stagefright/MPEG4Writer.h
+++ b/include/media/stagefright/MPEG4Writer.h
@@ -60,6 +60,7 @@ private:
class Track;
FILE *mFile;
+ bool mUse32BitOffset;
bool mPaused;
bool mStarted;
off_t mOffset;