Skip to content

Commit

Permalink
Merge pull request #273 from drewnoakes/samsung-makernote-detection
Browse files Browse the repository at this point in the history
Fix Samsung makernote detection
  • Loading branch information
drewnoakes authored Oct 8, 2020
2 parents f660dae + a029ac5 commit 994bf74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MetadataExtractor/Formats/Exif/ExifTiffHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ private bool ProcessMakernote(int makernoteOffset, ICollection<int> processedIfd
Directories.Add(directory);
ProcessReconyxHyperFire2Makernote(directory, makernoteOffset, reader);
}
else if (string.Equals("SAMSUNG", cameraMake, StringComparison.Ordinal))
else if (string.Equals("SAMSUNG", cameraMake, StringComparison.OrdinalIgnoreCase))
{
// Only handles Type2 notes correctly. Others aren't implemented, and it's complex to determine which ones to use
PushDirectory(new SamsungType2MakernoteDirectory());
Expand Down

0 comments on commit 994bf74

Please sign in to comment.