[tracker/wip/sam/resource: 7/13] tracker-extract: Fix resource API usage in gstreamer extractor
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/sam/resource: 7/13] tracker-extract: Fix resource API usage in gstreamer extractor
- Date: Thu, 7 Apr 2016 17:35:39 +0000 (UTC)
commit cdf11ab822340518db89ab2f8e552b2e1a11bb78
Author: Sam Thursfield <sam afuera me uk>
Date: Thu Apr 7 17:30:42 2016 +0100
tracker-extract: Fix resource API usage in gstreamer extractor
src/tracker-extract/tracker-extract-gstreamer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 0bfcb0b..4a94f23 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -724,7 +724,7 @@ extractor_apply_audio_metadata (MetadataExtractor *extractor,
if (album_disc) {
TrackerResource *album;
- album = tracker_resource_get_relation (album_disc, "nmm:albumDiscAlbum");
+ album = tracker_resource_get_first_relation (album_disc, "nmm:albumDiscAlbum");
tracker_resource_set_relation (audio, "nmm:musicAlbumDisc", album_disc);
tracker_resource_set_relation (audio, "nmm:musicAlbum", album);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]