summaryrefslogtreecommitdiffstats
path: root/include/media/mediarecorder.h
diff options
context:
space:
mode:
authorNipun Kwatra <nkwatra@google.com>2010-08-26 17:20:53 -0700
committerNipun Kwatra <nkwatra@google.com>2010-08-31 10:38:49 -0700
commit5d6aca5d86e86af3f8f597be573d4563d69ceb85 (patch)
tree88eb64d7aa763ab24c7eda54b0817740781d4bea /include/media/mediarecorder.h
parent9c075bca0b75093ca0514a3c8f74d73c8e9e83fd (diff)
downloadframeworks_av-5d6aca5d86e86af3f8f597be573d4563d69ceb85.zip
frameworks_av-5d6aca5d86e86af3f8f597be573d4563d69ceb85.tar.gz
frameworks_av-5d6aca5d86e86af3f8f597be573d4563d69ceb85.tar.bz2
Added setAuxiliaryOutputFile to MediaRecorder and JNI
added setAuxiliaryOutputFile to allow setting of an auxiliary output file. Also added the JNI support. Change-Id: I8c3335192bd6f7fcbfdfc8552cfd0848f2ad2a5d
Diffstat (limited to 'include/media/mediarecorder.h')
-rw-r--r--include/media/mediarecorder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/mediarecorder.h b/include/media/mediarecorder.h
index 291b18a..a600f6b 100644
--- a/include/media/mediarecorder.h
+++ b/include/media/mediarecorder.h
@@ -170,6 +170,7 @@ public:
status_t setAudioEncoder(int ae);
status_t setOutputFile(const char* path);
status_t setOutputFile(int fd, int64_t offset, int64_t length);
+ status_t setOutputFileAuxiliary(int fd);
status_t setVideoSize(int width, int height);
status_t setVideoFrameRate(int frames_per_second);
status_t setParameters(const String8& params);
@@ -196,6 +197,7 @@ private:
bool mIsAudioEncoderSet;
bool mIsVideoEncoderSet;
bool mIsOutputFileSet;
+ bool mIsAuxiliaryOutputFileSet;
Mutex mLock;
Mutex mNotifyLock;
};