[tracker/experiment-with-roi: 13/13] tracker-extract: TIFF: build sparql for regions of interest in XMP
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/experiment-with-roi: 13/13] tracker-extract: TIFF: build sparql for regions of interest in XMP
- Date: Tue, 6 Sep 2011 13:08:19 +0000 (UTC)
commit 5f5d78fff6d546e85efcbd7c4bfc2cbe9c0d3aca
Author: Ivan Frade <ivan frade gmail com>
Date: Mon Aug 29 12:13:15 2011 +0300
tracker-extract: TIFF: build sparql for regions of interest in XMP
src/tracker-extract/tracker-extract-tiff.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-tiff.c b/src/tracker-extract/tracker-extract-tiff.c
index 928c446..1851e23 100644
--- a/src/tracker-extract/tracker-extract-tiff.c
+++ b/src/tracker-extract/tracker-extract-tiff.c
@@ -486,6 +486,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 (md.address || md.state || md.country || md.city ||
md.gps_altitude || md.gps_latitude || md.gps_longitude) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]