diff options
author | exiftool <exiftool@users.sourceforge.net> | 2018-10-16 12:25:27 -0400 |
---|---|---|
committer | exiftool <exiftool@users.sourceforge.net> | 2018-10-16 12:25:27 -0400 |
commit | 603ff228e3ff525e8e55bcea26617487d62969c5 (patch) | |
tree | e2adf199f202b59c2d19c9bf1d972b7ea919c025 /lib/Image/ExifTool/QuickTimeStream.pl | |
parent | 4d55678e0776c97648f15ca3635cd73ab2eb1924 (diff) |
Update to 11.14
Diffstat (limited to 'lib/Image/ExifTool/QuickTimeStream.pl')
-rw-r--r-- | lib/Image/ExifTool/QuickTimeStream.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Image/ExifTool/QuickTimeStream.pl b/lib/Image/ExifTool/QuickTimeStream.pl index 8de1b38e..fd81fbc9 100644 --- a/lib/Image/ExifTool/QuickTimeStream.pl +++ b/lib/Image/ExifTool/QuickTimeStream.pl @@ -859,7 +859,7 @@ sub ProcessFreeGPS($$$) return 0 unless $stat eq 'A' and ($latRef eq 'N' or $latRef eq 'S') and ($lonRef eq 'E' or $lonRef eq 'W'); ($lat,$lon,$spd,$trk) = unpack 'f*', pack 'L*', $lat, $lon, $spd, $trk; - $yr += $yr >= 70 ? 1900 : 2000; + $yr += 2000 if $yr < 2000; $spd *= $knotsToKph; # convert speed to km/h # ($trk is not confirmed; may be GPSImageDirection, ref PH) } @@ -1091,6 +1091,7 @@ ATCRec: for ($recPos = 0x30; $recPos + 52 < $gpsBlockSize; $recPos += 52) { $alt = GetFloat($dataPt, 0x58) / 1000; # (NC) } else { # Type 3 (ref 2) + # (no sample with this format) $lat = GetFloat($dataPt, 0x4c); $lon = GetFloat($dataPt, 0x50); $spd = GetFloat($dataPt, 0x54) * $knotsToKph; |