summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-05-02 23:24:39 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-05-03 00:42:42 +0200
commita0d8a9ec956cdf35ccfc4f01cfc166103a7a7bcf (patch)
tree957b472701a7363388904c2aa9808241f6d044b6
parentb20eb8ffb5f91788a1412928058cbc9304b8144b (diff)
qcam: dng_writer: Fix missing field name
While reformatting the table the field name was missed for one entry, add it. Fixes: db7235b7141aa4e2 ("qcam: Add DNGWriter") Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/qcam/dng_writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcam/dng_writer.cpp b/src/qcam/dng_writer.cpp
index 08078369..7d51965d 100644
--- a/src/qcam/dng_writer.cpp
+++ b/src/qcam/dng_writer.cpp
@@ -65,7 +65,7 @@ static const std::map<PixelFormat, FormatInfo> formatInfo = {
{ PixelFormat(DRM_FORMAT_SGBRG10, MIPI_FORMAT_MOD_CSI2_PACKED), {
.bitsPerSample = 10,
.pattern = { CFAPatternGreen, CFAPatternBlue, CFAPatternRed, CFAPatternGreen },
- packScanlineSBGGR10P,
+ .packScanline = packScanlineSBGGR10P,
} },
{ PixelFormat(DRM_FORMAT_SGRBG10, MIPI_FORMAT_MOD_CSI2_PACKED), {
.bitsPerSample = 10,