[tracker/tracker-0.12: 167/202] tracker-extract-gstreamer: Fix cue sheet build error
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12: 167/202] tracker-extract-gstreamer: Fix cue sheet build error
- Date: Thu, 6 Oct 2011 18:02:30 +0000 (UTC)
commit e1b25711dcb5888fb4574e085dfb3ed104d6368e
Author: Martyn Russell <martyn lanedo com>
Date: Fri Sep 30 15:56:59 2011 +0100
tracker-extract-gstreamer: Fix cue sheet build error
src/tracker-extract/tracker-cue-sheet.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-extract/tracker-cue-sheet.c b/src/tracker-extract/tracker-cue-sheet.c
index 013690a..7c00d69 100644
--- a/src/tracker-extract/tracker-cue-sheet.c
+++ b/src/tracker-extract/tracker-cue-sheet.c
@@ -173,7 +173,6 @@ process_toc_tags (TrackerToc *toc)
{
GList *node;
gint track_count;
- gint i;
gchar *album_artist = NULL;
@@ -188,7 +187,7 @@ process_toc_tags (TrackerToc *toc)
gst_tag_list_get_string (toc->tag_list, GST_TAG_ALBUM_ARTIST, &album_artist);
- for (node=toc->entry_list; node; node=node->next) {
+ for (node = toc->entry_list; node; node = node->next) {
TrackerTocEntry *entry = node->data;
if (album_artist != NULL) {
@@ -264,7 +263,7 @@ parse_cue_sheet_for_file (const gchar *cue_sheet,
track_get_cdtext (track),
track_get_rem (track));
- gst_tag_list_add (entry->tag_list,
+ gst_tag_list_add (toc_entry->tag_list,
GST_TAG_MERGE_REPLACE,
GST_TAG_TRACK_NUMBER,
i,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]