diff options
author | James Dong <jdong@google.com> | 2010-06-22 11:27:37 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-06-22 11:27:37 -0700 |
commit | 58ae9c530247668f8af36e30d228c716c226b3d4 (patch) | |
tree | 797e765affac5a32c0a4a431d22afdfcd194eba1 /include | |
parent | 40f388ef8bad7a9ab16db8f90904656cd39c793d (diff) | |
download | frameworks_av-58ae9c530247668f8af36e30d228c716c226b3d4.zip frameworks_av-58ae9c530247668f8af36e30d228c716c226b3d4.tar.gz frameworks_av-58ae9c530247668f8af36e30d228c716c226b3d4.tar.bz2 |
Single track optimization
We don't need to do interleave when the total number of tracks to be recorded is one.
Metadata-wise, we only need to have one chunk in chunk offset table, and a
single entry in the stsc table.
Change-Id: I46f0e4b3860620311e7a91b68a9067acaa137bb2
Diffstat (limited to 'include')
-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 9812e41..d62df46 100644 --- a/include/media/stagefright/MPEG4Writer.h +++ b/include/media/stagefright/MPEG4Writer.h @@ -81,6 +81,7 @@ private: void setStartTimestampUs(int64_t timeUs); int64_t getStartTimestampUs(); // Not const status_t startTracks(); + size_t numTracks(); void lock(); void unlock(); |