diff options
author | Daniel Lam <dalam@google.com> | 2012-03-30 16:04:43 -0700 |
---|---|---|
committer | Daniel Lam <dalam@google.com> | 2012-04-09 22:58:28 -0700 |
commit | bdddc659a941afdb7f4958f582c6901c07246097 (patch) | |
tree | 37423f7b734d26e086328f1f9b337e1499c026b8 /media/libmediaplayerservice/StagefrightRecorder.cpp | |
parent | 3f502bfc6d04d08369cf147284c5c4c2ac7c9a0e (diff) | |
download | frameworks_av-bdddc659a941afdb7f4958f582c6901c07246097.zip frameworks_av-bdddc659a941afdb7f4958f582c6901c07246097.tar.gz frameworks_av-bdddc659a941afdb7f4958f582c6901c07246097.tar.bz2 |
Refactored SurfaceMediaSource
SurfaceMediaSource takes advantage of BufferQueue to avoid
duplicated code.
Change-Id: I5e60b8eca21e6c3cf728d363cd8f3786125182d1
Diffstat (limited to 'media/libmediaplayerservice/StagefrightRecorder.cpp')
-rw-r--r-- | media/libmediaplayerservice/StagefrightRecorder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.cpp b/media/libmediaplayerservice/StagefrightRecorder.cpp index ca79657..2c5644f 100644 --- a/media/libmediaplayerservice/StagefrightRecorder.cpp +++ b/media/libmediaplayerservice/StagefrightRecorder.cpp @@ -90,7 +90,7 @@ status_t StagefrightRecorder::init() { // while encoding GL Frames sp<ISurfaceTexture> StagefrightRecorder::querySurfaceMediaSource() const { ALOGV("Get SurfaceMediaSource"); - return mSurfaceMediaSource; + return mSurfaceMediaSource->getBufferQueue(); } status_t StagefrightRecorder::setAudioSource(audio_source_t as) { |