[snappy] engine: switch to GST_WARNING



commit 5a8a854cbce1e9b54327ad64b3383141855a4e9d
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Thu May 24 14:01:51 2012 +0100

    engine: switch to GST_WARNING

 src/gst_engine.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gst_engine.c b/src/gst_engine.c
index f4ec856..8437e99 100644
--- a/src/gst_engine.c
+++ b/src/gst_engine.c
@@ -188,7 +188,7 @@ discover (GstEngine * engine, gchar * uri)
   /* new GST Discoverer */
   dc = gst_discoverer_new (timeout * GST_SECOND, &error);
   if (G_UNLIKELY (error)) {
-    g_error ("Error in GST Discoverer initializing: %s\n", error->message);
+    GST_WARNING ("Error in GST Discoverer initializing: %s\n", error->message);
     g_error_free (error);
     return FALSE;
   }
@@ -196,7 +196,7 @@ discover (GstEngine * engine, gchar * uri)
   /* Discover URI */
   info = gst_discoverer_discover_uri (dc, uri, &error);
   if (G_UNLIKELY (error)) {
-    g_error ("Error discovering URI: %s\n", error->message);
+    GST_WARNING ("Error discovering URI: %s\n", error->message);
     g_error_free (error);
     return FALSE;
   }
@@ -370,7 +370,7 @@ remove_uri_unfinished_playback (GstEngine * engine, gchar * uri)
   data = g_key_file_to_data (keyfile, NULL, NULL);
   g_file_set_contents (path, data, strlen (data), &error);
   if (error != NULL) {
-    g_warning ("Failed to write history file to %s: %s", path, error->message);
+    GST_WARNING ("Failed to write history file to %s: %s", path, error->message);
     g_error_free (error);
   }
 
@@ -407,7 +407,7 @@ write_key_file_to_file (GKeyFile * keyfile, const char *path)
   data = g_key_file_to_data (keyfile, NULL, NULL);
   g_file_set_contents (path, data, strlen (data), &error);
   if (error != NULL) {
-    g_warning ("Failed to write history file to %s: %s", path, error->message);
+    GST_WARNING ("Failed to write history file to %s: %s", path, error->message);
     g_error_free (error);
   }
 



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