>From cbc1a4e6c453c5b660f55589278ca19314333c38 Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Mon, 28 Oct 2013 16:01:11 +0000 Subject: [PATCH] Fix incorrect mirroring of 180 rotation in xmp tags. --- src/libtracker-extract/tracker-xmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtracker-extract/tracker-xmp.c b/src/libtracker-extract/tracker-xmp.c index 8729af0..d0c5453 100644 --- a/src/libtracker-extract/tracker-xmp.c +++ b/src/libtracker-extract/tracker-xmp.c @@ -301,9 +301,9 @@ fix_orientation (const gchar *orientation) } else if (orientation && g_ascii_strcasecmp (orientation, "2") == 0) { return "nfo:orientation-top-mirror"; } else if (orientation && g_ascii_strcasecmp (orientation, "3") == 0) { - return "nfo:orientation-bottom-mirror"; - } else if (orientation && g_ascii_strcasecmp (orientation, "4") == 0) { return "nfo:orientation-bottom"; + } else if (orientation && g_ascii_strcasecmp (orientation, "4") == 0) { + return "nfo:orientation-bottom-mirror"; } else if (orientation && g_ascii_strcasecmp (orientation, "5") == 0) { return "nfo:orientation-left-mirror"; } else if (orientation && g_ascii_strcasecmp (orientation, "6") == 0) { -- 1.8.4.2