[tracker/experiment-with-roi: 11/13] tracker-extrcat: GIF: build Sparql for regions of interest in XMP



commit 0b42a67889136a8cfe7c005078d027fcfad4a9b0
Author: Ivan Frade <ivan frade gmail com>
Date:   Mon Aug 29 12:11:52 2011 +0300

    tracker-extrcat: GIF: build Sparql for regions of interest in XMP

 src/tracker-extract/tracker-extract-gif.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gif.c b/src/tracker-extract/tracker-extract-gif.c
index e02d9b3..4c31be8 100644
--- a/src/tracker-extract/tracker-extract-gif.c
+++ b/src/tracker-extract/tracker-extract-gif.c
@@ -367,6 +367,10 @@ read_metadata (TrackerSparqlBuilder *preupdate,
 		tracker_keywords_parse (keywords, xd->subject);
 	}
 
+        if (xd->regions) {
+                tracker_xmp_apply_regions (preupdate, metadata, where, uri, xd);
+        }
+
 	for (i = 0; i < keywords->len; i++) {
 		gchar *p, *escaped, *var;
 



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