summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/StagefrightRecorder.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-03-12 18:42:23 -0700
committerMathias Agopian <mathias@google.com>2013-03-12 18:42:23 -0700
commit99617adda9bc46c43f511f0940bc735c73de61de (patch)
tree67b71170ce74451ec384346407629d54cd7e403f /media/libmediaplayerservice/StagefrightRecorder.cpp
parent3eca0ac4428aa74f197a2a498d84490c4e30f11d (diff)
downloadframeworks_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/libmediaplayerservice/StagefrightRecorder.cpp')
-rw-r--r--media/libmediaplayerservice/StagefrightRecorder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.cpp b/media/libmediaplayerservice/StagefrightRecorder.cpp
index f570856..c2c9985 100644
--- a/media/libmediaplayerservice/StagefrightRecorder.cpp
+++ b/media/libmediaplayerservice/StagefrightRecorder.cpp
@@ -224,7 +224,7 @@ status_t StagefrightRecorder::setCamera(const sp<ICamera> &camera,
return OK;
}
-status_t StagefrightRecorder::setPreviewSurface(const sp<Surface> &surface) {
+status_t StagefrightRecorder::setPreviewSurface(const sp<IGraphicBufferProducer> &surface) {
ALOGV("setPreviewSurface: %p", surface.get());
mPreviewSurface = surface;