[tracker] tracker-extract: Make it clearer where MIME type came from in debug



commit 2a48cc2444f486002abf7f86040812474208b70c
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Mar 6 08:08:43 2014 +0000

    tracker-extract: Make it clearer where MIME type came from in debug

 src/tracker-extract/tracker-extract.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index 25d5f9b..8920bd1 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -430,10 +430,11 @@ extract_task_new (TrackerExtract *extract,
                }
 
                mimetype_used = g_strdup (g_file_info_get_content_type (info));
-               g_debug ("Guessing mime type as '%s'", mimetype);
                g_object_unref (info);
+               g_debug ("MIME type guessed as '%s' (from GIO)", mimetype_used);
        } else {
                mimetype_used = g_strdup (mimetype);
+               g_debug ("MIME type passed to us as '%s'", mimetype_used);
        }
 
        task = g_slice_new0 (TrackerExtractTask);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]