diff options
author | Chong Zhang <chz@google.com> | 2015-05-13 10:21:33 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2015-05-13 10:49:35 -0700 |
commit | 8f469e18c307cb9dc0d16ed9225972aa8be4516f (patch) | |
tree | c8e07383c8bdef3b0214def08f6b2d6da7e622f4 /include/media/MediaRecorderBase.h | |
parent | 635bc8f90429b2fdcaf7f8d43f7f59bcd0fe951c (diff) | |
download | frameworks_av-8f469e18c307cb9dc0d16ed9225972aa8be4516f.zip frameworks_av-8f469e18c307cb9dc0d16ed9225972aa8be4516f.tar.gz frameworks_av-8f469e18c307cb9dc0d16ed9225972aa8be4516f.tar.bz2 |
stagefright: rename usePersistentInputSurface to setInputSurface
and clear persistent surface pointer when MediaRecorder is reset
bug: 21045118
bug: 21045402
Change-Id: Ifd0d6deeb969f2252123929541b30b518cecbf9a
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 9947309..d6cc4bb 100644 --- a/include/media/MediaRecorderBase.h +++ b/include/media/MediaRecorderBase.h @@ -57,7 +57,7 @@ struct MediaRecorderBase { virtual status_t reset() = 0; virtual status_t getMaxAmplitude(int *max) = 0; virtual status_t dump(int fd, const Vector<String16>& args) const = 0; - virtual status_t usePersistentSurface(const sp<IGraphicBufferConsumer>& surface) = 0; + virtual status_t setInputSurface(const sp<IGraphicBufferConsumer>& surface) = 0; virtual sp<IGraphicBufferProducer> querySurfaceMediaSource() const = 0; |