diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2022-07-21 19:15:30 +0530 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2022-07-24 19:39:14 +0530 |
commit | 1b80d9e9974f8619ffa717d477d29ac8ae020ec0 (patch) | |
tree | 14ac32ec63053e434a6b047e104b1bb93d93d92f | |
parent | 5bb87f0f3a3876b8cc9331e881155467a7474a2a (diff) |
test: gstreamer: Drop internal header from base class
The internal header isn't needed. The needed function
libcameraBuildPath() is exposed by libcamera/base/utils.h header.
At the same time, move the utils header to .cpp instead of including
it in the base class header itself.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | test/gstreamer/gstreamer_test.cpp | 2 | ||||
-rw-r--r-- | test/gstreamer/gstreamer_test.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/test/gstreamer/gstreamer_test.cpp b/test/gstreamer/gstreamer_test.cpp index 227a5c37..cfb8afc6 100644 --- a/test/gstreamer/gstreamer_test.cpp +++ b/test/gstreamer/gstreamer_test.cpp @@ -5,6 +5,8 @@ * libcamera Gstreamer element API tests */ +#include <libcamera/base/utils.h> + #include "gstreamer_test.h" #include "test.h" diff --git a/test/gstreamer/gstreamer_test.h b/test/gstreamer/gstreamer_test.h index 9869d252..35adab0e 100644 --- a/test/gstreamer/gstreamer_test.h +++ b/test/gstreamer/gstreamer_test.h @@ -10,10 +10,6 @@ #include <iostream> #include <unistd.h> -#include <libcamera/base/utils.h> - -#include "libcamera/internal/source_paths.h" - #include <gst/gst.h> class GstreamerTest |