libcamera: v4l2_device: Rename format() method to getFormat()
Rename format() to getFormat() to reflect the v4l2 API names more closely. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
3fd5ade00c
commit
a78e56ecc2
2 changed files with 2 additions and 2 deletions
|
@ -282,7 +282,7 @@ void V4L2Device::close()
|
|||
* \brief Retrieve the image format set on the V4L2 device
|
||||
* \return 0 for success, a negative error code otherwise
|
||||
*/
|
||||
int V4L2Device::format(V4L2DeviceFormat *fmt)
|
||||
int V4L2Device::getFormat(V4L2DeviceFormat *fmt)
|
||||
{
|
||||
return caps_.isMultiplanar() ? getFormatMultiplane(fmt) :
|
||||
getFormatSingleplane(fmt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue