summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-05-12 18:26:13 -0700
committerMathias Agopian <mathias@google.com>2010-05-12 18:26:13 -0700
commit7406eafe7f9774e095383d4ea14f776808da562e (patch)
treec2337bf3b1bdb5d531fb1c7d48460208094bd7a8
parent2f0e6753d6c0d67e0e133105bf3fdc8596749412 (diff)
downloadframeworks_base-7406eafe7f9774e095383d4ea14f776808da562e.zip
frameworks_base-7406eafe7f9774e095383d4ea14f776808da562e.tar.gz
frameworks_base-7406eafe7f9774e095383d4ea14f776808da562e.tar.bz2
should fix the build
Change-Id: I9957fc43d5fce317479f6c55fb0b9612bff9a495
-rw-r--r--media/libstagefright/CameraSource.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/CameraSource.cpp b/media/libstagefright/CameraSource.cpp
index 038c3b3..3a1e3bc 100644
--- a/media/libstagefright/CameraSource.cpp
+++ b/media/libstagefright/CameraSource.cpp
@@ -40,6 +40,9 @@ struct DummySurface : public BnSurface {
virtual sp<GraphicBuffer> requestBuffer(int bufferIdx, int usage) {
return NULL;
}
+ virtual status_t setBufferCount(int bufferCount) {
+ return INVALID_OPERATION;
+ }
virtual status_t registerBuffers(const BufferHeap &buffers) {
return OK;