summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-01-02 11:53:52 +0100
committerJacopo Mondi <jacopo@jmondi.org>2019-01-02 12:21:15 +0100
commitea3fa2680c56a798f752e197eff57f3148fcdf40 (patch)
tree82bf6a4c121ef376365ed419e8bebaca74fa935e /src
parentd83269aae0f7449a710d255735d1d26ee849d240 (diff)
libcamera: media_device: Tiny valid() documentation improvement
Mention in the valid() method documentation, that a media graph has to be populated to be valid. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/media_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/media_device.cpp b/src/libcamera/media_device.cpp
index 4b135579..18956519 100644
--- a/src/libcamera/media_device.cpp
+++ b/src/libcamera/media_device.cpp
@@ -269,7 +269,7 @@ int MediaDevice::populate()
/**
* \fn MediaDevice::valid()
- * \brief Query whether the media graph is valid
+ * \brief Query whether the media graph has been populated and is valid
* \return true if the media graph is valid, false otherwise
*/