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 /include/media/MediaRecorderBase.h | |
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 'include/media/MediaRecorderBase.h')
-rw-r--r-- | include/media/MediaRecorderBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/MediaRecorderBase.h b/include/media/MediaRecorderBase.h index 8dd40d2..d7ac302 100644 --- a/include/media/MediaRecorderBase.h +++ b/include/media/MediaRecorderBase.h @@ -42,7 +42,7 @@ struct MediaRecorderBase { virtual status_t setVideoFrameRate(int frames_per_second) = 0; virtual status_t setCamera(const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy) = 0; - virtual status_t setPreviewSurface(const sp<Surface>& surface) = 0; + virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0; virtual status_t setOutputFile(const char *path) = 0; virtual status_t setOutputFile(int fd, int64_t offset, int64_t length) = 0; virtual status_t setOutputFileAuxiliary(int fd) {return INVALID_OPERATION;} |