summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2013-10-30 10:02:12 -0700
committerLajos Molnar <lajos@google.com>2013-10-30 11:29:29 -0700
commit9c7f845780d62ea09469a8dac7117cc01adfea5c (patch)
tree1c69c580de33cf8dc15a5060447e4d9109181fbe /include
parent1c594b637df26499ce1dae2db34f2b3290efd838 (diff)
downloadframeworks_av-9c7f845780d62ea09469a8dac7117cc01adfea5c.zip
frameworks_av-9c7f845780d62ea09469a8dac7117cc01adfea5c.tar.gz
frameworks_av-9c7f845780d62ea09469a8dac7117cc01adfea5c.tar.bz2
StageFrightRecorder: do not use meta-data mode for software encoders
Camera HAL v1 uses vendor-specific camera-source meta-data mode, but software encoders use generic gralloc-source mode, so they are not compatible. Change-Id: I0d1bab8eada26dcb70c97b1eec83f06d1f331239 Signed-off-by: Lajos Molnar <lajos@google.com> Bug: 11446505
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/CameraSourceTimeLapse.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/media/stagefright/CameraSourceTimeLapse.h b/include/media/stagefright/CameraSourceTimeLapse.h
index 6b7a63c..34213be 100644
--- a/include/media/stagefright/CameraSourceTimeLapse.h
+++ b/include/media/stagefright/CameraSourceTimeLapse.h
@@ -41,7 +41,8 @@ public:
Size videoSize,
int32_t videoFrameRate,
const sp<IGraphicBufferProducer>& surface,
- int64_t timeBetweenTimeLapseFrameCaptureUs);
+ int64_t timeBetweenTimeLapseFrameCaptureUs,
+ bool storeMetaDataInVideoBuffers = true);
virtual ~CameraSourceTimeLapse();
@@ -116,7 +117,8 @@ private:
Size videoSize,
int32_t videoFrameRate,
const sp<IGraphicBufferProducer>& surface,
- int64_t timeBetweenTimeLapseFrameCaptureUs);
+ int64_t timeBetweenTimeLapseFrameCaptureUs,
+ bool storeMetaDataInVideoBuffers = true);
// Wrapper over CameraSource::signalBufferReturned() to implement quick stop.
// It only handles the case when mLastReadBufferCopy is signalled. Otherwise