summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-02-10 16:06:30 +0100
committerJacopo Mondi <jacopo@jmondi.org>2019-02-14 05:25:29 +0100
commit26df58377b528133a1d839360ec3f5d0e577b504 (patch)
treebe41535018e78f98ceb96602ffc9654b49d047b0 /src
parent220106b1fe32518c2c7fe7a9609638d957cd240f (diff)
libcamera: v4l2_subdevice: Forward-declare MediaEntity
The V4L2Subdevice class uses MediaEntity instances, and the corresponding header is not included. Fix this by forward declaring the MediaEntity class. Fixes: 468176fa07d9 ("libcamera: Add V4L2Subdevice") Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/include/v4l2_subdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcamera/include/v4l2_subdevice.h b/src/libcamera/include/v4l2_subdevice.h
index 8fd66607..82fa6685 100644
--- a/src/libcamera/include/v4l2_subdevice.h
+++ b/src/libcamera/include/v4l2_subdevice.h
@@ -11,6 +11,7 @@
namespace libcamera {
+class MediaEntity;
struct Rectangle;
struct V4L2SubdeviceFormat {