summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/media_device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcamera/internal/media_device.h b/include/libcamera/internal/media_device.h
index bf2e475d..992184ed 100644
--- a/include/libcamera/internal/media_device.h
+++ b/include/libcamera/internal/media_device.h
@@ -54,6 +54,8 @@ public:
MediaLink *link(const MediaPad *source, const MediaPad *sink);
int disableLinks();
+ int fd() const { return fd_.get(); }
+
Signal<> disconnected;
protected: