[easytag] Switch log message to debug in Ogg image handling



commit 24fdf0b83665a64b52f3ceacdcff552fbe4fbf2a
Author: David King <amigadave amigadave com>
Date:   Sat Nov 8 10:02:40 2014 +0000

    Switch log message to debug in Ogg image handling
    
    Any images which cannot be converted to the specification-required PNG
    on JPEG are left unchanged, so emitting a log message is less than
    helpful.

 src/tags/ogg_tag.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/tags/ogg_tag.c b/src/tags/ogg_tag.c
index 2143325..8060b4f 100644
--- a/src/tags/ogg_tag.c
+++ b/src/tags/ogg_tag.c
@@ -937,8 +937,7 @@ ogg_tag_write_file_tag (const ET_File *ETFile,
                 if (!gdk_pixbuf_loader_write (loader, pic->data, pic->size,
                                               &error))
                 {
-                    Log_Print (LOG_ERROR, _("Error parsing image data ā€˜%sā€™"),
-                               error->message);
+                    g_debug ("Error parsing image data: %s", error->message);
                     g_error_free (error);
                     g_object_unref (loader);
                     continue;
@@ -951,9 +950,8 @@ ogg_tag_write_file_tag (const ET_File *ETFile,
 
                     if (!gdk_pixbuf_loader_close (loader, &error))
                     {
-                        Log_Print (LOG_ERROR,
-                                   _("Error parsing image data ā€˜%sā€™"),
-                                   error->message);
+                        g_debug ("Error parsing image data: %s",
+                                 error->message);
                         g_error_free (error);
                         g_object_unref (loader);
                         continue;


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