summaryrefslogtreecommitdiffstats
path: root/include/camera/Camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/camera/Camera.h')
-rw-r--r--include/camera/Camera.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/camera/Camera.h b/include/camera/Camera.h
index f4a80b5..d565315 100644
--- a/include/camera/Camera.h
+++ b/include/camera/Camera.h
@@ -129,9 +129,10 @@ public:
status_t setPreviewDisplay(const sp<Surface>& surface);
status_t setPreviewDisplay(const sp<ISurface>& surface);
+#ifdef USE_GETBUFFERINFO
// query the recording buffer information from HAL layer.
status_t getBufferInfo(sp<IMemory>& Frame, size_t *alignedSize);
-
+#endif
// start preview mode, must call setPreviewDisplay first
status_t startPreview();