[tracker/regions-of-interest] tracker-extract, JPEG: generate sparql for the regions of interest in the metadata



commit 1023ba1c044ffbb2f749a39ed2a303d7f81e9c91
Author: Ivan Frade <ivan frade gmail com>
Date:   Mon Aug 1 17:16:50 2011 +0300

    tracker-extract, JPEG: generate sparql for the regions of interest in the metadata

 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 e30c2f3..45b6dcc 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -361,6 +361,10 @@ tracker_extract_get_metadata (const gchar          *uri,
 		tracker_sparql_builder_object_unvalidated (metadata, xd->license);
 	}
 
+        if (xd->regions) {
+                tracker_xmp_apply_regions (preupdate, metadata, where, uri, xd);
+        }
+
 	if (id->keywords) {
 		tracker_keywords_parse (keywords, id->keywords);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]