[tracker] tracker-extract-jpeg: Use nmm:Photo for images with Exif tags
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract-jpeg: Use nmm:Photo for images with Exif tags
- Date: Mon, 31 Aug 2009 16:01:23 +0000 (UTC)
commit d0ba466926fc81921ee8f70af3e75efa4403d83f
Author: Jürg Billeter <j bitron ch>
Date: Mon Aug 31 17:55:18 2009 +0200
tracker-extract-jpeg: Use nmm:Photo for images with Exif tags
src/tracker-extract/tracker-extract-jpeg.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tracker-extract-jpeg.c
index 6988b18..725abaa 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -367,6 +367,10 @@ read_exif (const unsigned char *buffer,
ExifData *exif;
TagType *p;
+ tracker_statement_list_insert (metadata, uri,
+ RDF_TYPE,
+ NMM_PREFIX "Photo");
+
exif = exif_data_new();
exif_data_set_option (exif, EXIF_DATA_OPTION_IGNORE_UNKNOWN_TAGS);
exif_data_unset_option (exif, EXIF_DATA_OPTION_FOLLOW_SPECIFICATION);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]