diff options
author | Jackie Li <yaodong.li@intel.com> | 2014-01-28 07:48:25 +0800 |
---|---|---|
committer | buildslave <sys_buildbot@intel.com> | 2014-01-28 14:24:38 +0000 |
commit | e20e9ba52c803dea7604f972ce305bd20f2ade33 (patch) | |
tree | b95030e3b26b0412b14180cc33467af321c81c2d /ips | |
parent | e430d265e6cbb501c231e6a97b28b74c481907d4 (diff) | |
download | hwcomposer-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.cpp | 3 |
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; |