Revision: 1669
http://geeqie.svn.sourceforge.net/geeqie/?rev=1669&view=rev
Author: nadvornik
Date: 2009-04-27 21:39:56 +0000 (Mon, 27 Apr 2009)
Log Message:
-----------
compilation fixes
Modified Paths:
--------------
trunk/src/exif.c
trunk/src/exiv2.cc
Modified: trunk/src/exif.c
===================================================================
--- trunk/src/exif.c 2009-04-27 20:19:21 UTC (rev 1668)
+++ trunk/src/exif.c 2009-04-27 21:39:56 UTC (rev 1669)
@@ -1606,7 +1606,7 @@
if (!key) return NULL;
/* convert xmp key to exif key */
- if (strcmp(key, ORIENTATION_KEY) == 0) key = "Exif.Image.Orientation";
+ if (strcmp(key, "Xmp.tiff.Orientation") == 0) key =
"Exif.Image.Orientation";
if (format == METADATA_FORMATTED)
{
Modified: trunk/src/exiv2.cc
===================================================================
--- trunk/src/exiv2.cc 2009-04-27 20:19:21 UTC (rev 1668)
+++ trunk/src/exiv2.cc 2009-04-27 21:39:56 UTC (rev 1669)
@@ -982,12 +982,12 @@
#if EXIV2_TEST_VERSION(0,16,0)
Exiv2::Xmpdatum *xmpdatum;
#endif
- if ((exifdatum = dynamic_cast<Exiv2::Exifdatum
*>(metadatum)))
+ if ((exifdatum = dynamic_cast<Exiv2::Exifdatum
*>(&item)))
stream << *exifdatum;
- else if ((iptcdatum = dynamic_cast<Exiv2::Iptcdatum
*>(metadatum)))
+ else if ((iptcdatum = dynamic_cast<Exiv2::Iptcdatum
*>(&item)))
stream << *iptcdatum;
#if EXIV2_TEST_VERSION(0,16,0)
- else if ((xmpdatum = dynamic_cast<Exiv2::Xmpdatum
*>(metadatum)))
+ else if ((xmpdatum = dynamic_cast<Exiv2::Xmpdatum
*>(&item)))
stream << *xmpdatum;
#endif
str = stream.str();
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn