[rygel] server: Remove annoying warning



commit acc1ae9bccc23c0b1ee162823ca582254fad9f79
Author: Jens Georg <mail jensge org>
Date:   Sat Apr 30 18:25:05 2016 +0200

    server: Remove annoying warning
    
    With DVD support, the warning is coming up a lot and it's really not fatal.
    Make it a debug instead.
    
    Signed-off-by: Jens Georg <mail jensge org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685800

 src/librygel-server/rygel-media-object.vala |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/librygel-server/rygel-media-object.vala b/src/librygel-server/rygel-media-object.vala
index 6a9e17b..4949a30 100644
--- a/src/librygel-server/rygel-media-object.vala
+++ b/src/librygel-server/rygel-media-object.vala
@@ -524,9 +524,10 @@ public abstract class Rygel.MediaObject : GLib.Object {
             return "rtsp-rtp-udp";
         } else {
             // Assume the protocol to be the scheme of the URI
-            warning (_("Failed to probe protocol for URI %s. Assuming '%s'"),
-                     uri,
-                     scheme);
+            debug ("Could not translate protocol scheme for  %s. " +
+                   " Using '%s' as-is",
+                   uri,
+                   scheme);
 
             return scheme;
         }


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