summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorRachad <rachad@google.com>2014-09-22 19:34:31 -0700
committerRachad <rachad@google.com>2014-09-28 15:33:34 -0700
commitab76066c11e988ca3d3a5d6d74dd510ae080322e (patch)
treedeb4cccdb021f1e7aa0dd147f187a96b51b43d4c /include/media
parent9f8551ffa967bd8a4d0a52487a183dcf8b22d91f (diff)
downloadframeworks_av-ab76066c11e988ca3d3a5d6d74dd510ae080322e.zip
frameworks_av-ab76066c11e988ca3d3a5d6d74dd510ae080322e.tar.gz
frameworks_av-ab76066c11e988ca3d3a5d6d74dd510ae080322e.tar.bz2
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
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/ACodec.h2
1 files changed, 2 insertions, 0 deletions
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<AMessage> &msg, int32_t mode);
status_t allocateBuffersOnPort(OMX_U32 portIndex);
status_t freeBuffersOnPort(OMX_U32 portIndex);