am afa07b52: Fix tearing for 720P video playback. Hold 2 decoded video frames instead of 1 so that SF can have more room to complete composition. bug 2309411
Merge commit 'afa07b52460a1c9f88294f14f5a2a259543c88b5' into eclair-mr2
* commit 'afa07b52460a1c9f88294f14f5a2a259543c88b5':
Fix tearing for 720P video playback.
diff --git a/android/android_surface_output.cpp b/android/android_surface_output.cpp
index 075768b..748faa8 100644
--- a/android/android_surface_output.cpp
+++ b/android/android_surface_output.cpp
@@ -935,7 +935,7 @@
LOGV("Flushing buffers after EOS");
processWriteResponseQueue(0);
} else {
- processWriteResponseQueue(1);
+ processWriteResponseQueue(2);
}
}