summaryrefslogtreecommitdiff
path: root/src/libcamera/include/media_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/include/media_device.h')
-rw-r--r--src/libcamera/include/media_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcamera/include/media_device.h b/src/libcamera/include/media_device.h
index 27a2b46a..9f038093 100644
--- a/src/libcamera/include/media_device.h
+++ b/src/libcamera/include/media_device.h
@@ -56,6 +56,8 @@ private:
std::string driver_;
std::string deviceNode_;
std::string model_;
+ unsigned int version_;
+
int fd_;
bool valid_;
bool acquired_;
@@ -72,6 +74,7 @@ private:
bool populateEntities(const struct media_v2_topology &topology);
bool populatePads(const struct media_v2_topology &topology);
bool populateLinks(const struct media_v2_topology &topology);
+ void fixupEntityFlags(struct media_v2_entity *entity);
friend int MediaLink::setEnabled(bool enable);
int setupLink(const MediaLink *link, unsigned int flags);