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:
committed by
Kieran Bingham
parent
b0e31c9020
commit
e0b870e615
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user