mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 17:15:07 +03:00
pipeline: raspberrypi: Add const qualifer in isRaw()
This function does not modify the pixFmt parameter, so use a const qualifier. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
b0e31c9020
commit
e0b870e615
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ V4L2DeviceFormat toV4L2DeviceFormat(const V4L2SubdeviceFormat &format,
|
|||
return deviceFormat;
|
||||
}
|
||||
|
||||
bool isRaw(PixelFormat &pixFmt)
|
||||
bool isRaw(const PixelFormat &pixFmt)
|
||||
{
|
||||
/*
|
||||
* The isRaw test might be redundant right now the pipeline handler only
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue