[tracker/tracker-0.10] tracker-extract: PDF: build sparql for regions of interest in XMP
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-extract: PDF: build sparql for regions of interest in XMP
- Date: Thu, 8 Sep 2011 12:53:05 +0000 (UTC)
commit 6b66901fcda97c5cd85c1f00f73cdfec12b9aee6
Author: Ivan Frade <ivan frade gmail com>
Date: Mon Aug 29 12:12:40 2011 +0300
tracker-extract: PDF: build sparql for regions of interest in XMP
src/tracker-extract/tracker-extract-pdf.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-pdf.c b/src/tracker-extract/tracker-extract-pdf.c
index c7d27cc..19fd68d 100644
--- a/src/tracker-extract/tracker-extract-pdf.c
+++ b/src/tracker-extract/tracker-extract-pdf.c
@@ -575,6 +575,11 @@ extract_pdf (const gchar *uri,
tracker_sparql_builder_object_blank_close (metadata); /* GeoLocation */
}
+
+ if (xd->regions) {
+ tracker_xmp_apply_regions (preupdate, metadata, where, uri, xd);
+ }
+
tracker_xmp_free (xd);
} else {
/* So if we are here we have NO XMP data and we just
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]