Message ID | 20211206233948.1351206-8-kieran.bingham@ideasonboard.com |
---|---|
State | Accepted |
Delegated to: | Kieran Bingham |
Headers | show |
Series |
|
Related | show |
Hi Kieran, Thank you for the patch. On Mon, Dec 06, 2021 at 11:39:47PM +0000, Kieran Bingham wrote: > The libcamera coding style has libcamera headers after system headers, > and before any other library headers. > > Move the libcamera headers above the Gst headers accordingly. > > Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > src/gstreamer/gstlibcamerasrc.cpp | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/gstreamer/gstlibcamerasrc.cpp b/src/gstreamer/gstlibcamerasrc.cpp > index 812ba7a2bd6e..c7292f66b17b 100644 > --- a/src/gstreamer/gstlibcamerasrc.cpp > +++ b/src/gstreamer/gstlibcamerasrc.cpp > @@ -32,11 +32,11 @@ > #include <queue> > #include <vector> > > -#include <gst/base/base.h> > - > #include <libcamera/camera.h> > #include <libcamera/camera_manager.h> > > +#include <gst/base/base.h> > + > #include "gstlibcameraallocator.h" > #include "gstlibcamerapad.h" > #include "gstlibcamerapool.h"
Hi On 12/7/21 5:09 AM, Kieran Bingham wrote: > The libcamera coding style has libcamera headers after system headers, > and before any other library headers. > > Move the libcamera headers above the Gst headers accordingly. > > Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> > --- > src/gstreamer/gstlibcamerasrc.cpp | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/gstreamer/gstlibcamerasrc.cpp b/src/gstreamer/gstlibcamerasrc.cpp > index 812ba7a2bd6e..c7292f66b17b 100644 > --- a/src/gstreamer/gstlibcamerasrc.cpp > +++ b/src/gstreamer/gstlibcamerasrc.cpp > @@ -32,11 +32,11 @@ > #include <queue> > #include <vector> > > -#include <gst/base/base.h> > - > #include <libcamera/camera.h> > #include <libcamera/camera_manager.h> > > +#include <gst/base/base.h> > + > #include "gstlibcameraallocator.h" > #include "gstlibcamerapad.h" > #include "gstlibcamerapool.h"
diff --git a/src/gstreamer/gstlibcamerasrc.cpp b/src/gstreamer/gstlibcamerasrc.cpp index 812ba7a2bd6e..c7292f66b17b 100644 --- a/src/gstreamer/gstlibcamerasrc.cpp +++ b/src/gstreamer/gstlibcamerasrc.cpp @@ -32,11 +32,11 @@ #include <queue> #include <vector> -#include <gst/base/base.h> - #include <libcamera/camera.h> #include <libcamera/camera_manager.h> +#include <gst/base/base.h> + #include "gstlibcameraallocator.h" #include "gstlibcamerapad.h" #include "gstlibcamerapool.h"
The libcamera coding style has libcamera headers after system headers, and before any other library headers. Move the libcamera headers above the Gst headers accordingly. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> --- src/gstreamer/gstlibcamerasrc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)