diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-01-21 17:31:06 -0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2010-01-21 20:20:08 -0800 |
commit | e1ceec234c618729cc7bd35fecb11744b52c1cc8 (patch) | |
tree | d478c2160bfb90b429f13089a92d182ddf0b62e0 /media/libstagefright/CameraSource.cpp | |
parent | 177b580f56e91bc5519b8772e696b14f8b5757e2 (diff) | |
download | frameworks_base-e1ceec234c618729cc7bd35fecb11744b52c1cc8.zip frameworks_base-e1ceec234c618729cc7bd35fecb11744b52c1cc8.tar.gz frameworks_base-e1ceec234c618729cc7bd35fecb11744b52c1cc8.tar.bz2 |
Add an orientation parameter for overlay, so we can do camera preview in portrait mode.
Diffstat (limited to 'media/libstagefright/CameraSource.cpp')
-rw-r--r-- | media/libstagefright/CameraSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/CameraSource.cpp b/media/libstagefright/CameraSource.cpp index bd862e0..8cd572e 100644 --- a/media/libstagefright/CameraSource.cpp +++ b/media/libstagefright/CameraSource.cpp @@ -56,7 +56,7 @@ struct DummySurface : public BnSurface { virtual void unregisterBuffers() {} virtual sp<OverlayRef> createOverlay( - uint32_t w, uint32_t h, int32_t format) { + uint32_t w, uint32_t h, int32_t format, int32_t orientation) { return NULL; } |