summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2011-05-09 16:56:25 -0700
committerJames Dong <jdong@google.com>2011-05-14 07:18:43 -0700
commit86b7f47aa7482424cf8fd248f1315311919be3b0 (patch)
treeddc0e28c8736a20d20bcd87f652cecf4bc18e7b6 /include
parent9b1e4f1a18ac2489e24b4272a0a7ccfd0018efcc (diff)
downloadframeworks_av-86b7f47aa7482424cf8fd248f1315311919be3b0.zip
frameworks_av-86b7f47aa7482424cf8fd248f1315311919be3b0.tar.gz
frameworks_av-86b7f47aa7482424cf8fd248f1315311919be3b0.tar.bz2
Support platform and camera dependent recording start time offset
related-to-bug: 4390777 Change-Id: Icb52973ad4ac716f04fb103ef527915a966d06d5
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MPEG4Writer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/MPEG4Writer.h b/include/media/stagefright/MPEG4Writer.h
index 2d75728..1764306 100644
--- a/include/media/stagefright/MPEG4Writer.h
+++ b/include/media/stagefright/MPEG4Writer.h
@@ -56,6 +56,8 @@ public:
int32_t getTimeScale() const { return mTimeScale; }
status_t setGeoData(int latitudex10000, int longitudex10000);
+ void setStartTimeOffsetMs(int ms) { mStartTimeOffsetMs = ms; }
+ int32_t getStartTimeOffsetMs() const { return mStartTimeOffsetMs; }
protected:
virtual ~MPEG4Writer();
@@ -84,6 +86,7 @@ private:
int mLatitudex10000;
int mLongitudex10000;
bool mAreGeoTagsAvailable;
+ int32_t mStartTimeOffsetMs;
Mutex mLock;