From 8f469e18c307cb9dc0d16ed9225972aa8be4516f Mon Sep 17 00:00:00 2001 From: Chong Zhang Date: Wed, 13 May 2015 10:21:33 -0700 Subject: stagefright: rename usePersistentInputSurface to setInputSurface and clear persistent surface pointer when MediaRecorder is reset bug: 21045118 bug: 21045402 Change-Id: Ifd0d6deeb969f2252123929541b30b518cecbf9a --- media/libstagefright/omx/OMXNodeInstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/libstagefright/omx/OMXNodeInstance.cpp') diff --git a/media/libstagefright/omx/OMXNodeInstance.cpp b/media/libstagefright/omx/OMXNodeInstance.cpp index 04293d6..91cee73 100644 --- a/media/libstagefright/omx/OMXNodeInstance.cpp +++ b/media/libstagefright/omx/OMXNodeInstance.cpp @@ -891,7 +891,7 @@ status_t OMXNodeInstance::createPersistentInputSurface( return OK; } -status_t OMXNodeInstance::usePersistentInputSurface( +status_t OMXNodeInstance::setInputSurface( OMX_U32 portIndex, const sp &bufferConsumer) { Mutex::Autolock autolock(mLock); return createGraphicBufferSource(portIndex, bufferConsumer); -- cgit v1.1