diff options
author | Mathias Agopian <mathias@google.com> | 2013-03-12 18:42:23 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-03-12 18:42:23 -0700 |
commit | 99617adda9bc46c43f511f0940bc735c73de61de (patch) | |
tree | 67b71170ce74451ec384346407629d54cd7e403f /media/libstagefright/CameraSourceTimeLapse.cpp | |
parent | 3eca0ac4428aa74f197a2a498d84490c4e30f11d (diff) | |
download | frameworks_av-99617adda9bc46c43f511f0940bc735c73de61de.zip frameworks_av-99617adda9bc46c43f511f0940bc735c73de61de.tar.gz frameworks_av-99617adda9bc46c43f511f0940bc735c73de61de.tar.bz2 |
remove uses of Surface in favor or IGraphicBufferProducer
Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57
Diffstat (limited to 'media/libstagefright/CameraSourceTimeLapse.cpp')
-rw-r--r-- | media/libstagefright/CameraSourceTimeLapse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/CameraSourceTimeLapse.cpp b/media/libstagefright/CameraSourceTimeLapse.cpp index 2ed2223..20214e8 100644 --- a/media/libstagefright/CameraSourceTimeLapse.cpp +++ b/media/libstagefright/CameraSourceTimeLapse.cpp @@ -40,7 +40,7 @@ CameraSourceTimeLapse *CameraSourceTimeLapse::CreateFromCamera( uid_t clientUid, Size videoSize, int32_t videoFrameRate, - const sp<Surface>& surface, + const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs) { CameraSourceTimeLapse *source = new @@ -66,7 +66,7 @@ CameraSourceTimeLapse::CameraSourceTimeLapse( uid_t clientUid, Size videoSize, int32_t videoFrameRate, - const sp<Surface>& surface, + const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs) : CameraSource(camera, proxy, cameraId, clientName, clientUid, videoSize, videoFrameRate, surface, true), |