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: 468176fa07 ("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>
This commit is contained in:
Jacopo Mondi
2019-02-10 16:06:30 +01:00
parent 220106b1fe
commit 26df58377b

View File

@@ -11,6 +11,7 @@
namespace libcamera {
class MediaEntity;
struct Rectangle;
struct V4L2SubdeviceFormat {