[tracker/gst-geolocation: 2/3] tracker-extract-gstreamer: Extract geolocation for all content types
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gst-geolocation: 2/3] tracker-extract-gstreamer: Extract geolocation for all content types
- Date: Fri, 30 Sep 2011 15:10:13 +0000 (UTC)
commit 4fbd56a4661161e65286db72eb29244b6735071d
Author: Martyn Russell <martyn lanedo com>
Date: Tue Aug 16 15:59:59 2011 +0100
tracker-extract-gstreamer: Extract geolocation for all content types
src/tracker-extract/tracker-extract-gstreamer.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 43621e2..6c1e077 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -620,11 +620,9 @@ extract_metadata (MetadataExtractor *extractor,
g_free (composer);
}
- add_geolocation_tags (metadata, preupdate, extractor->tagcache);
}
/* Audio */
-
if (extractor->mime == EXTRACT_MIME_AUDIO) {
gst_tag_list_get_string (extractor->tagcache, GST_TAG_ALBUM, &albumname);
}
@@ -888,6 +886,9 @@ extract_metadata (MetadataExtractor *extractor,
g_free (artist_uri);
add_string_gst_tag (metadata, uri, "nfo:codec", extractor->tagcache, GST_TAG_AUDIO_CODEC);
+
+ /* Add geo location information regardless of mime type */
+ add_geolocation_tags (metadata, preupdate, extractor->tagcache);
} else if (extractor->mime == EXTRACT_MIME_GUESS) {
g_warning ("Cannot guess real stream type if no tags were read! "
"Defaulting to Video.");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]