From ab76066c11e988ca3d3a5d6d74dd510ae080322e Mon Sep 17 00:00:00 2001 From: Rachad Date: Mon, 22 Sep 2014 19:34:31 -0700 Subject: stagefright: do not allocate output buffers for tunneled playback Do not allocate native window buffers for tunneled video playback codecs. Bug: 17112525 Change-Id: I262d8030a9df6188938fde5d62ebce8faf7dba1f --- include/media/stagefright/ACodec.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/media') diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index da4c20c..6ede5f6 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -211,6 +211,8 @@ private: bool mCreateInputBuffersSuspended; + bool mTunneled; + status_t setCyclicIntraMacroblockRefresh(const sp &msg, int32_t mode); status_t allocateBuffersOnPort(OMX_U32 portIndex); status_t freeBuffersOnPort(OMX_U32 portIndex); -- cgit v1.1