[rygel] renderer-gst: Show full error message



commit 06c83c816e2c9b08485028ba7ccc877e81d094b7
Author: Jens Georg <jensg openismus com>
Date:   Mon Mar 18 11:23:11 2013 +0100

    renderer-gst: Show full error message

 .../rygel-playbin-player.vala                      |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/librygel-renderer-gst/rygel-playbin-player.vala 
b/src/librygel-renderer-gst/rygel-playbin-player.vala
index f9e33b8..f33158e 100644
--- a/src/librygel-renderer-gst/rygel-playbin-player.vala
+++ b/src/librygel-renderer-gst/rygel-playbin-player.vala
@@ -436,13 +436,14 @@ public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
             break;
         case MessageType.ERROR:
             Error error;
-            string error_message;
+            string debug_message;
 
-            message.parse_error (out error, out error_message);
+            message.parse_error (out error, out debug_message);
 
-            warning ("Error from GStreamer element %s: %s",
+            warning ("Error from GStreamer element %s: %s (%s)",
                      this.playbin.name,
-                     error_message);
+                     error.message,
+                     debug_message);
             warning ("Going to STOPPED state");
 
             this.playback_state = "STOPPED";


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