diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-06-11 02:33:54 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-06-16 16:47:43 +0200 |
commit | bf650cf3fc43ea8d198d14612af6db4b45ef4b68 (patch) | |
tree | f83642c0d3005bf069030b77c1b9e17535c2ae18 /test/list-cameras.cpp | |
parent | 9d4fb49dbc224989dc64af864b296f1cc73a4eff (diff) |
qcam: dng_writer: Record creation time in the EXIF directory
If the EXIF directory is empty due to no metadata being available tools
such as tiffinfo complains that the directory is malformed.
TIFFFetchDirectory: Sanity check on directory count failed, this is probably not a valid IFD offset.
TIFFReadCustomDirectory: Failed to read custom directory at offset 0.
Always record the creation time in the EXIF directory instead of adding
complexity to skip creating the EXIF directory if there is no metadata
to record. This ensures there are at least some entries in the EXIF
directory and that makes tiffinfo happy.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/list-cameras.cpp')
0 files changed, 0 insertions, 0 deletions