[PATCH v2 13/20] libcamera: v4l2: Fix indirect include

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sat Aug 31 02:19:45 CEST 2024


On Fri, Aug 30, 2024 at 05:27:10PM +0200, Milan Zamazal wrote:
> Use the direct include of V4L2PixelFormat.
> 
> Signed-off-by: Milan Zamazal <mzamazal at redhat.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> ---
>  src/v4l2/v4l2_camera_proxy.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp
> index 56c557b5..2267b6ee 100644
> --- a/src/v4l2/v4l2_camera_proxy.cpp
> +++ b/src/v4l2/v4l2_camera_proxy.cpp
> @@ -24,7 +24,7 @@
>  #include <libcamera/camera.h>
>  #include <libcamera/formats.h>
>  
> -#include "libcamera/internal/formats.h"
> +#include "libcamera/internal/v4l2_pixelformat.h"
>  
>  #include "v4l2_camera.h"
>  #include "v4l2_camera_file.h"

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list