[tracker/roi-png-fix: 11/14] GIF extractor: build Sparql for regions of interest in XMP



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

    GIF extractor: 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 7314c38..2ae303d 100644
--- a/src/tracker-extract/tracker-extract-gif.c
+++ b/src/tracker-extract/tracker-extract-gif.c
@@ -341,6 +341,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]