[tracker/tracker-1.10] tracker-extract: Only use CUE info as last	resort in gstreamer
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [tracker/tracker-1.10] tracker-extract: Only use CUE info as last	resort in gstreamer
- Date: Thu, 27 Oct 2016 10:16:39 +0000 (UTC)
commit 2a47b9fe79b6e9781d1053b7286539df0e647001
Author: Marinus Schraal <mschraal src gnome org>
Date:   Wed Oct 26 12:06:36 2016 +0200
    tracker-extract: Only use CUE info as last resort in gstreamer
    
    CUE data was overriding file tags in the gstreamer extractor, however
    CUE data is notoriously unreliable. Instead, only use the CUE data if we
    have nothing else.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773524
 src/tracker-extract/tracker-extract-gstreamer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 042a08b..122ebf8 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -892,7 +892,7 @@ extract_metadata (MetadataExtractor      *extractor,
        if (extractor->toc) {
                gst_tag_list_insert (extractor->tagcache,
                                     extractor->toc->tag_list,
-                                    GST_TAG_MERGE_REPLACE);
+                                    GST_TAG_MERGE_KEEP);
 
                if (g_list_length (extractor->toc->entry_list) == 1) {
                        /* If we only got one track, stick all the info together and
@@ -903,7 +903,7 @@ extract_metadata (MetadataExtractor      *extractor,
                        toc_entry = extractor->toc->entry_list->data;
                        gst_tag_list_insert (extractor->tagcache,
                                             toc_entry->tag_list,
-                                            GST_TAG_MERGE_REPLACE);
+                                            GST_TAG_MERGE_KEEP);
 
                        tracker_toc_free (extractor->toc);
                        extractor->toc = NULL;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]