summaryrefslogtreecommitdiff
path: root/libopencorehw
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2010-01-21 17:32:21 -0800
committerChih-Chung Chang <chihchung@google.com>2010-01-21 17:33:35 -0800
commit58ed7098c1618ec112cceb3d3df27004d387576c (patch)
treed8f6891fafed5e688480f8a45af60a0a347df2af /libopencorehw
parent3f188ff7dd2d1657e550750314a560561715bb31 (diff)
downloadomap3-58ed7098c1618ec112cceb3d3df27004d387576c.tar.gz
The overlay has a new orientation parameter (not used here).
Diffstat (limited to 'libopencorehw')
-rw-r--r--libopencorehw/android_surface_output_omap34xx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopencorehw/android_surface_output_omap34xx.cpp b/libopencorehw/android_surface_output_omap34xx.cpp
index d476df5..8431a41 100644
--- a/libopencorehw/android_surface_output_omap34xx.cpp
+++ b/libopencorehw/android_surface_output_omap34xx.cpp
@@ -112,7 +112,7 @@ OSCL_EXPORT_REF bool AndroidSurfaceOutputOmap34xx::initCheck()
// wait in the createOverlay call if the previous overlay is in the
// process of being destroyed.
for (int retry = 0; retry < 50; ++retry) {
- ref = mSurface->createOverlay(displayWidth, displayHeight, videoFormat);
+ ref = mSurface->createOverlay(displayWidth, displayHeight, videoFormat, 0);
if (ref != NULL) break;
LOGD("Overlay create failed - retrying");
usleep(100000);