[tracker/experiment-with-roi: 8/13] tracker-extract: JPEG: generate sparql for the regions of interest in the metadata



commit f08a76a46ee928c8457db90f0e9673d55d52060a
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
    
    Fixes NB#271437

 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 9785c42..37396b8 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -434,6 +434,10 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
 		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]