[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:41:30 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=244c17f
The following commit has been merged in the master branch:
commit 244c17fffd06c1c0911ed8b9644a2ed2b2884597
Author: HumanDynamo <caulier.gilles at gmail.com>
Date: Thu Apr 22 10:16:14 2010 +0000
implement Flash Mode codec
---
src/sonymn.cpp | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/sonymn.cpp b/src/sonymn.cpp
index fa30d6b..34b43c2 100644
--- a/src/sonymn.cpp
+++ b/src/sonymn.cpp
@@ -439,6 +439,12 @@ namespace Exiv2 {
{ 16, N_("Sepia") }
};
+ //! Lookup table to translate Sony camera settings flash mode values to readable labels
+ extern const TagDetails sonyFlashMode[] = {
+ { 0, N_("ADI") },
+ { 1, N_("TTL") },
+ };
+
// Sony Camera Settings Tag Info
// NOTE: all are for A200, A230, A300, A350, A700, A850 and A900 Sony model excepted
// some entries which are only relevant with A700.
@@ -491,10 +497,9 @@ namespace Exiv2 {
TagInfo(0x0034, "Brightness", N_("Brightness"),
N_("Brightness"),
sony1CsIfdId, makerTags, unsignedShort, printValue),
-
TagInfo(0x0035, "FlashMode", N_("FlashMode"),
N_("FlashMode"),
- sony1CsIfdId, makerTags, unsignedShort, printValue),
+ sony1CsIfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyFlashMode)),
// NOTE: A700 only
TagInfo(0x0040, "PrioritySetupShutterRelease", N_("Priority Setup Shutter Release"),
@@ -605,10 +610,9 @@ namespace Exiv2 {
TagInfo(0x0027, "Saturation", N_("Saturation"),
N_("Saturation"),
sony1Cs2IfdId, makerTags, unsignedShort, printValue),
-
TagInfo(0x0035, "FlashMode", N_("FlashMode"),
N_("FlashMode"),
- sony1Cs2IfdId, makerTags, unsignedShort, printValue),
+ sony1Cs2IfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyFlashMode)),
TagInfo(0x0060, "ExposureProgram", N_("Exposure Program"),
N_("Exposure Program"),
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list