[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:38 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=f5e6458

The following commit has been merged in the master branch:
commit f5e645824b5036fcd256fdfd36056e7ed1478836
Author: HumanDynamo <caulier.gilles at gmail.com>
Date:   Tue May 25 10:22:15 2010 +0000

    missing Focus Mode tag
---
 src/sonymn.cpp | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/src/sonymn.cpp b/src/sonymn.cpp
index 4b61a28..9bbc057 100644
--- a/src/sonymn.cpp
+++ b/src/sonymn.cpp
@@ -157,6 +157,14 @@ namespace Exiv2 {
     };
 
     //! Lookup table to translate Sony AF mode values to readable labels
+    extern const TagDetails sonyFocusMode[] = {
+        { 1,     "AF-S"             },
+        { 2,     "AF-C"             },
+        { 4,     N_("Permanent-AF") },
+        { 65535, N_("n/a")          }
+    };
+
+    //! Lookup table to translate Sony AF mode values to readable labels
     extern const TagDetails sonyAFMode[] = {
         { 1,     N_("Multi AF")         },
         { 2,     N_("Center AF")        },
@@ -188,7 +196,7 @@ namespace Exiv2 {
         { 2,     N_("Burst")                     },
         { 5,     N_("Exposure Bracketing ")      },
         { 6,     N_("White Balance Bracketing ") },
-        { 65537, N_("n/a")                       }
+        { 65535, N_("n/a")                       }
     };
 
     std::ostream& SonyMakerNote::print0xb000(std::ostream& os, const Value& value, const ExifData*)
@@ -342,6 +350,9 @@ namespace Exiv2 {
         TagInfo(0xB041, "ExposureMode", N_("Exposure Mode"),
                 N_("Exposure Mode"),
                 sony1IfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyExposureMode)),
+        TagInfo(0xB042, "FocusMode", N_("Focus Mode"),
+                N_("Focus mode"),
+                sony1IfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyFocusMode)),
         TagInfo(0xB043, "AFMode", N_("AF Mode"),
                 N_("AF Mode"),
                 sony1IfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyAFMode)),
@@ -399,7 +410,7 @@ namespace Exiv2 {
     };
 
     //! Lookup table to translate Sony camera settings focus mode values to readable labels
-    extern const TagDetails sonyFocusMode[] = {
+    extern const TagDetails sonyCSFocusMode[] = {
         { 0, N_("Manual") },
         { 1, "AF-S"       },
         { 2, "AF-C"       },
@@ -506,7 +517,7 @@ namespace Exiv2 {
                 sony1CsIfdId, makerTags, unsignedShort, printValue),
         TagInfo(0x0016, "FocusMode", N_("Focus Mode"),
                 N_("Focus Mode"),
-                sony1CsIfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyFocusMode)),
+                sony1CsIfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyCSFocusMode)),
         TagInfo(0x0017, "AFAreaMode", N_("AF Area Mode"),
                 N_("AF Area Mode"),
                 sony1CsIfdId, makerTags, unsignedShort, printMinoltaSonyAFAreaMode),
@@ -611,7 +622,7 @@ namespace Exiv2 {
 
         TagInfo(0x0016, "FocusMode", N_("Focus Mode"),
                 N_("Focus Mode"),
-                sony1Cs2IfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyFocusMode)),
+                sony1Cs2IfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyCSFocusMode)),
         TagInfo(0x0017, "AFAreaMode", N_("AF Area Mode"),
                 N_("AF Area Mode"),
                 sony1Cs2IfdId, makerTags, unsignedShort, printMinoltaSonyAFAreaMode),

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list