diff options
Diffstat (limited to 'src/qcam/format_converter.cpp')
-rw-r--r-- | src/qcam/format_converter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcam/format_converter.cpp b/src/qcam/format_converter.cpp index 7b8ad77c..483f7c1e 100644 --- a/src/qcam/format_converter.cpp +++ b/src/qcam/format_converter.cpp @@ -25,8 +25,8 @@ #define CLIP(x) CLAMP(x,0,255) #endif -int FormatConverter::configure(libcamera::PixelFormat format, unsigned int width, - unsigned int height) +int FormatConverter::configure(const libcamera::PixelFormat &format, + unsigned int width, unsigned int height) { switch (format) { case DRM_FORMAT_NV12: |