diff options
author | James Dong <jdong@google.com> | 2009-12-09 11:43:33 -0800 |
---|---|---|
committer | James Dong <jdong@google.com> | 2009-12-09 11:43:33 -0800 |
commit | afa07b52460a1c9f88294f14f5a2a259543c88b5 (patch) | |
tree | 78e9b6bae837c6fdd3e9be9457ac40cadd21bc22 | |
parent | 674995079ccb3544671ae00d378d2d932ca9d062 (diff) | |
download | opencore-afa07b52460a1c9f88294f14f5a2a259543c88b5.tar.gz |
Fix tearing for 720P video playback.android-sdk-2.1_r1android-2.1_r1
Hold 2 decoded video frames instead of 1 so that SF can have more room to complete composition.
bug 2309411
-rw-r--r-- | android/android_surface_output.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/android_surface_output.cpp b/android/android_surface_output.cpp index 075768b7a..748faa8ce 100644 --- a/android/android_surface_output.cpp +++ b/android/android_surface_output.cpp @@ -935,7 +935,7 @@ void AndroidSurfaceOutput::Run() LOGV("Flushing buffers after EOS"); processWriteResponseQueue(0); } else { - processWriteResponseQueue(1); + processWriteResponseQueue(2); } } |