summaryrefslogtreecommitdiff
path: root/test/camera/capture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera/capture.cpp')
-rw-r--r--test/camera/capture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp
index ca1ebe41..0d9ffc47 100644
--- a/test/camera/capture.cpp
+++ b/test/camera/capture.cpp
@@ -28,7 +28,7 @@ protected:
void bufferComplete(Request *request, Buffer *buffer)
{
- if (buffer->status() != Buffer::BufferSuccess)
+ if (buffer->metadata().status != FrameMetadata::FrameSuccess)
return;
completeBuffersCount_++;