summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/include/media_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcamera/include/media_device.h b/src/libcamera/include/media_device.h
index 74a67c81..fd1e12d1 100644
--- a/src/libcamera/include/media_device.h
+++ b/src/libcamera/include/media_device.h
@@ -32,7 +32,9 @@ public:
const std::string driver() const { return driver_; }
const std::string devnode() const { return devnode_; }
+
const std::vector<MediaEntity *> &entities() const { return entities_; }
+ MediaEntity *getEntityByName(const std::string &name);
private:
std::string driver_;
@@ -46,7 +48,6 @@ private:
void clear();
std::vector<MediaEntity *> entities_;
- MediaEntity *getEntityByName(const std::string &name);
bool populateEntities(const struct media_v2_topology &topology);
bool populatePads(const struct media_v2_topology &topology);