summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/colorconversion
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-05-10 16:17:44 -0700
committerAndreas Huber <andih@google.com>2011-05-10 16:17:44 -0700
commit4f4bedbfcbd443c9d0041a1e353d558fe6900757 (patch)
tree2760bf333bc3ea1a52f9ca5cef28375e648792b7 /media/libstagefright/colorconversion
parentc0dfc5b02d4179769bbdd25c10d430576ec09568 (diff)
downloadframeworks_av-4f4bedbfcbd443c9d0041a1e353d558fe6900757.zip
frameworks_av-4f4bedbfcbd443c9d0041a1e353d558fe6900757.tar.gz
frameworks_av-4f4bedbfcbd443c9d0041a1e353d558fe6900757.tar.bz2
Leave the number of output buffers up to surface flinger and friends.
Change-Id: Iebb90f45793793aeb08d1cf9706e29a7cefae792
Diffstat (limited to 'media/libstagefright/colorconversion')
-rw-r--r--media/libstagefright/colorconversion/SoftwareRenderer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/media/libstagefright/colorconversion/SoftwareRenderer.cpp b/media/libstagefright/colorconversion/SoftwareRenderer.cpp
index 3b13476..ee86148 100644
--- a/media/libstagefright/colorconversion/SoftwareRenderer.cpp
+++ b/media/libstagefright/colorconversion/SoftwareRenderer.cpp
@@ -77,8 +77,6 @@ SoftwareRenderer::SoftwareRenderer(
GRALLOC_USAGE_SW_READ_NEVER | GRALLOC_USAGE_SW_WRITE_OFTEN
| GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_EXTERNAL_DISP));
- CHECK_EQ(0, native_window_set_buffer_count(mNativeWindow.get(), 2));
-
// Width must be multiple of 32???
CHECK_EQ(0, native_window_set_buffers_geometry(
mNativeWindow.get(),