summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--simple-cam.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/simple-cam.cpp b/simple-cam.cpp
index a8ac3c8..95e472b 100644
--- a/simple-cam.cpp
+++ b/simple-cam.cpp
@@ -58,10 +58,10 @@ static void processRequest(Request *request)
<< " bytesused: ";
unsigned int nplane = 0;
- for (const FrameMetadata::Plane &plane : metadata.planes)
+ for (const FrameMetadata::Plane &plane : metadata.planes())
{
std::cout << plane.bytesused;
- if (++nplane < metadata.planes.size())
+ if (++nplane < metadata.planes().size())
std::cout << "/";
}