summaryrefslogtreecommitdiffhomepage
path: root/video/camera.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/camera.hpp')
-rw-r--r--video/camera.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/camera.hpp b/video/camera.hpp
index c8eff3b9..1cda8839 100644
--- a/video/camera.hpp
+++ b/video/camera.hpp
@@ -23,7 +23,7 @@ struct frame final
// the `stride' member can have a special value of zero,
// signifying equal to width * element size
int width = 0, height = 0, stride = 0, channels = 0;
- // TODO: Add channel size instead of assuming 1 byte
+ int channelSize = 1;
};
} // ns video