summaryrefslogtreecommitdiff
path: root/src/camera/veyeimx287m.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera/veyeimx287m.h')
-rw-r--r--src/camera/veyeimx287m.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/camera/veyeimx287m.h b/src/camera/veyeimx287m.h
index 03b7df9..7946d2f 100644
--- a/src/camera/veyeimx287m.h
+++ b/src/camera/veyeimx287m.h
@@ -101,14 +101,12 @@ private:
struct buffer
{
- unsigned int idx{std::numeric_limits<unsigned int>::max()};
- unsigned int padding[VIDEO_MAX_PLANES]{
- std::numeric_limits<unsigned int>::max()};
- unsigned int size[VIDEO_MAX_PLANES]{
- std::numeric_limits<unsigned int>::max()};
- void *mem[VIDEO_MAX_PLANES]{nullptr};
+ unsigned int padding[VIDEO_MAX_PLANES]{std::numeric_limits<unsigned int>::max()};
+ unsigned int size[VIDEO_MAX_PLANES]{std::numeric_limits<unsigned int>::max()};
+ // void *mem[VIDEO_MAX_PLANES]{nullptr};
+ void *mem{nullptr};
};
- std::vector<buffer> buffers;
+ std::vector<buffer> m_buffers;
// std::mutex m_queueMtx;
std::mutex m_camMtx;