summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/formats.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/formats.h')
-rw-r--r--include/libcamera/internal/formats.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/libcamera/internal/formats.h b/include/libcamera/internal/formats.h
index ee599765..5b16c0a8 100644
--- a/include/libcamera/internal/formats.h
+++ b/include/libcamera/internal/formats.h
@@ -53,10 +53,7 @@ public:
/* \todo Add support for non-contiguous memory planes */
const char *name;
PixelFormat format;
- struct {
- V4L2PixelFormat single;
- V4L2PixelFormat multi;
- } v4l2Formats;
+ std::vector<V4L2PixelFormat> v4l2Formats;
unsigned int bitsPerPixel;
enum ColourEncoding colourEncoding;
bool packed;