diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-02-10 16:06:30 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-02-14 05:25:29 +0100 |
commit | 26df58377b528133a1d839360ec3f5d0e577b504 (patch) | |
tree | be41535018e78f98ceb96602ffc9654b49d047b0 | |
parent | 220106b1fe32518c2c7fe7a9609638d957cd240f (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>
-rw-r--r-- | src/libcamera/include/v4l2_subdevice.h | 1 |
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 { |