summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2013-09-10 12:05:35 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-10 12:05:35 -0700
commitb4e04abed8d82d3bb31861740542e161df91321a (patch)
treefeff444ef6c898fa503edd90d8bf66af30f23c19 /include/media
parentf18224ea830d6740ca195232d3492412d5bdab67 (diff)
parent1024ffd706ca10591e4cc8ebcd92605a00b516d0 (diff)
downloadframeworks_av-b4e04abed8d82d3bb31861740542e161df91321a.zip
frameworks_av-b4e04abed8d82d3bb31861740542e161df91321a.tar.gz
frameworks_av-b4e04abed8d82d3bb31861740542e161df91321a.tar.bz2
am 1024ffd7: am 7f9551f7: MediaMuxer: Hook up setLocation method
* commit '1024ffd706ca10591e4cc8ebcd92605a00b516d0': MediaMuxer: Hook up setLocation method
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/MediaMuxer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaMuxer.h b/include/media/stagefright/MediaMuxer.h
index c1fdbad..ff6a66e 100644
--- a/include/media/stagefright/MediaMuxer.h
+++ b/include/media/stagefright/MediaMuxer.h
@@ -79,6 +79,16 @@ public:
status_t setOrientationHint(int degrees);
/**
+ * Set the location.
+ * @param latitude The latitude in degree x 1000. Its value must be in the range
+ * [-900000, 900000].
+ * @param longitude The longitude in degree x 1000. Its value must be in the range
+ * [-1800000, 1800000].
+ * @return OK if no error.
+ */
+ status_t setLocation(int latitude, int longitude);
+
+ /**
* Stop muxing.
* This method is a blocking call. Depending on how
* much data is bufferred internally, the time needed for stopping