summaryrefslogtreecommitdiff
path: root/libstagefrighthw
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-01-25 16:11:49 -0800
committerAndreas Huber <andih@google.com>2010-01-25 16:11:49 -0800
commit952e6f56872e2d8d4be32cef29108c482341aff3 (patch)
tree20573c251b9a3fe102c139bf4caf4f0c7e565799 /libstagefrighthw
parentab7d368b0b1da1f98d34745ad44209d3b9436053 (diff)
downloadomap3-952e6f56872e2d8d4be32cef29108c482341aff3.tar.gz
Apparently the overlay needs to be created with the decoded size rather than the display size.
related-to-bug: 2395502
Diffstat (limited to 'libstagefrighthw')
-rw-r--r--libstagefrighthw/TIHardwareRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstagefrighthw/TIHardwareRenderer.cpp b/libstagefrighthw/TIHardwareRenderer.cpp
index 94fa25d..2a23585 100644
--- a/libstagefrighthw/TIHardwareRenderer.cpp
+++ b/libstagefrighthw/TIHardwareRenderer.cpp
@@ -48,7 +48,7 @@ TIHardwareRenderer::TIHardwareRenderer(
CHECK(mDecodedHeight > 0);
sp<OverlayRef> ref = mISurface->createOverlay(
- mDisplayWidth, mDisplayHeight, OVERLAY_FORMAT_CbYCrY_422_I, 0);
+ mDecodedWidth, mDecodedHeight, OVERLAY_FORMAT_CbYCrY_422_I, 0);
if (ref.get() == NULL) {
LOGE("Unable to create the overlay!");