[tracker] tracker-extract: Use gst_tag_list_new_empty() in cue sheet helpers
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: Use gst_tag_list_new_empty() in cue sheet helpers
- Date: Sun, 6 Mar 2016 15:55:42 +0000 (UTC)
commit f1ab410dc395a92a2961687dc363742b6999b139
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Mar 6 16:41:55 2016 +0100
tracker-extract: Use gst_tag_list_new_empty() in cue sheet helpers
It is the right way to create empty tag lists.
src/tracker-extract/tracker-cue-sheet.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-cue-sheet.c b/src/tracker-extract/tracker-cue-sheet.c
index a9dd6f1..35fb7ea 100644
--- a/src/tracker-extract/tracker-cue-sheet.c
+++ b/src/tracker-extract/tracker-cue-sheet.c
@@ -45,7 +45,7 @@ tracker_toc_new (void)
TrackerToc *toc;
toc = g_slice_new (TrackerToc);
- toc->tag_list = gst_tag_list_new (NULL);
+ toc->tag_list = gst_tag_list_new_empty ();
toc->entry_list = NULL;
return toc;
@@ -259,7 +259,7 @@ parse_cue_sheet_for_file (const gchar *cue_sheet,
}
toc_entry = g_slice_new (TrackerTocEntry);
- toc_entry->tag_list = gst_tag_list_new (NULL);
+ toc_entry->tag_list = gst_tag_list_new_empty ();
toc_entry->start = track_get_start (track) / 75.0;
toc_entry->duration = track_get_length (track) / 75.0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]