summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSurajit Podder <spodder@codeaurora.org>2016-01-13 12:42:43 +0530
committerSteve Kondik <steve@cyngn.com>2016-03-08 22:37:30 -0800
commit69714d42dc65906f2a94a5e47bea6219ead6fe23 (patch)
tree9ff229c5efb86abc742695ffa3e8097c19c06521 /include
parent1aedff94c6f52223f8720edbce16c80ad1b57b00 (diff)
downloadframeworks_av-69714d42dc65906f2a94a5e47bea6219ead6fe23.zip
frameworks_av-69714d42dc65906f2a94a5e47bea6219ead6fe23.tar.gz
frameworks_av-69714d42dc65906f2a94a5e47bea6219ead6fe23.tar.bz2
video: Add support to push blank buffers on surface switch
Add support to push blank buffers only on surface switch. Setting "push-blank-buffers-on-switch" key with value 1 will enable this feature. Change-Id: I4a0fc48fe24c09a6b8d0e2e0fc4dc2e96d3178bf
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index cbc2ba6..0ac13b9 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -148,6 +148,7 @@ protected:
kFlagIsSecure = 1,
kFlagPushBlankBuffersToNativeWindowOnShutdown = 2,
kFlagIsGrallocUsageProtected = 4,
+ kFlagPushBlankBuffersToNativeWindowOnSwitch = 1 << 7,
};
enum {