summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-05-13 10:21:33 -0700
committerChong Zhang <chz@google.com>2015-05-13 10:49:35 -0700
commit8f469e18c307cb9dc0d16ed9225972aa8be4516f (patch)
treec8e07383c8bdef3b0214def08f6b2d6da7e622f4 /media/libstagefright/include
parent635bc8f90429b2fdcaf7f8d43f7f59bcd0fe951c (diff)
downloadframeworks_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 'media/libstagefright/include')
-rw-r--r--media/libstagefright/include/OMX.h2
-rw-r--r--media/libstagefright/include/OMXNodeInstance.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/include/OMX.h b/media/libstagefright/include/OMX.h
index b1ee628..c183208 100644
--- a/media/libstagefright/include/OMX.h
+++ b/media/libstagefright/include/OMX.h
@@ -99,7 +99,7 @@ public:
sp<IGraphicBufferProducer> *bufferProducer,
sp<IGraphicBufferConsumer> *bufferConsumer);
- virtual status_t usePersistentInputSurface(
+ virtual status_t setInputSurface(
node_id node, OMX_U32 port_index,
const sp<IGraphicBufferConsumer> &bufferConsumer);
diff --git a/media/libstagefright/include/OMXNodeInstance.h b/media/libstagefright/include/OMXNodeInstance.h
index 03c9a8a..ad1e181 100644
--- a/media/libstagefright/include/OMXNodeInstance.h
+++ b/media/libstagefright/include/OMXNodeInstance.h
@@ -87,7 +87,7 @@ struct OMXNodeInstance {
sp<IGraphicBufferProducer> *bufferProducer,
sp<IGraphicBufferConsumer> *bufferConsumer);
- status_t usePersistentInputSurface(
+ status_t setInputSurface(
OMX_U32 portIndex, const sp<IGraphicBufferConsumer> &bufferConsumer);
status_t signalEndOfInputStream();