[tracker] Fixes NB#200310: BMP files should also be registered as nmm:Photo
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Fixes NB#200310: BMP files should also be registered as nmm:Photo
- Date: Tue, 26 Oct 2010 12:11:02 +0000 (UTC)
commit 5663d43048b24e0d296cc1374eceec94c58392e2
Author: Aleksander Morgado <aleksander lanedo com>
Date: Tue Oct 26 14:10:34 2010 +0200
Fixes NB#200310: BMP files should also be registered as nmm:Photo
src/tracker-extract/tracker-extract-gstreamer.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 6b26aee..8895231 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -740,6 +740,7 @@ extract_metadata (MetadataExtractor *extractor,
tracker_sparql_builder_object (metadata, "nmm:Video");
} else if (!needs_audio) {
tracker_sparql_builder_object (metadata, "nfo:Image");
+ tracker_sparql_builder_object (metadata, "nmm:Photo");
}
s = NULL;
@@ -861,6 +862,7 @@ extract_metadata (MetadataExtractor *extractor,
tracker_sparql_builder_object (metadata, "nmm:Video");
} else if (!needs_audio) {
tracker_sparql_builder_object (metadata, "nfo:Image");
+ tracker_sparql_builder_object (metadata, "nmm:Photo");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]