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