summaryrefslogtreecommitdiff
path: root/ips
diff options
context:
space:
mode:
authorJackie Li <yaodong.li@intel.com>2014-01-28 07:48:25 +0800
committerbuildslave <sys_buildbot@intel.com>2014-01-28 14:24:38 +0000
commite20e9ba52c803dea7604f972ce305bd20f2ade33 (patch)
treeb95030e3b26b0412b14180cc33467af321c81c2d /ips
parente430d265e6cbb501c231e6a97b28b74c481907d4 (diff)
downloadhwcomposer-e20e9ba52c803dea7604f972ce305bd20f2ade33.tar.gz
hwc: [WORKAROUND] solved the video playback corruption issue on HDMI,
when the clip has rotation info. BZ: 167926 Change-Id: Ie22d1bcef17f52e9a128e7dfdc0e1023f2981cd6 Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Austin Hu <austin.hu@intel.com>
Diffstat (limited to 'ips')
-rw-r--r--ips/anniedale/AnnOverlayPlane.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ips/anniedale/AnnOverlayPlane.cpp b/ips/anniedale/AnnOverlayPlane.cpp
index 3374e92..13acdb9 100644
--- a/ips/anniedale/AnnOverlayPlane.cpp
+++ b/ips/anniedale/AnnOverlayPlane.cpp
@@ -121,6 +121,9 @@ void AnnOverlayPlane::deinitialize()
bool AnnOverlayPlane::setDataBuffer(uint32_t handle)
{
+ if (mIndex == 1 && mTransform != 0)
+ return false;
+
if (mDisablePending) {
if (isFlushed() || mDisablePendingCount >= OVERLAY_DISABLING_COUNT_MAX) {
mDisablePending = false;