summaryrefslogtreecommitdiff
path: root/src/libcamera/device_enumerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/device_enumerator.cpp')
-rw-r--r--src/libcamera/device_enumerator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcamera/device_enumerator.cpp b/src/libcamera/device_enumerator.cpp
index c088f3e5..f1d016db 100644
--- a/src/libcamera/device_enumerator.cpp
+++ b/src/libcamera/device_enumerator.cpp
@@ -124,6 +124,9 @@ bool DeviceMatch::match(const MediaDevice *device) const
* implementations may be needed. This function creates the best enumerator for
* the operating system based on the available resources. Not all different
* enumerator types are guaranteed to support all features.
+ *
+ * \return A pointer to the newly created device enumerator on success, or
+ * nullptr if an error occurs
*/
DeviceEnumerator *DeviceEnumerator::create()
{