[tracker/roi-png-fix: 8/14] tracker-extract, JPEG: generate sparql for the regions of interest in the metadata



commit 124f8de42c2575f5d6cd5f2b3c1011f954ea6090
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 36c7ab2..583bf9c 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -412,6 +412,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]