From 849d914aa63c3a4be38bc031680d758fbeabbc88 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Tue, 13 Oct 2009 18:46:49 +0300 Subject: [PATCH] gst-renderer: ChangeLog spits more debug info --- src/plugins/gst-renderer/rygel-gst-changelog.vala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/gst-renderer/rygel-gst-changelog.vala b/src/plugins/gst-renderer/rygel-gst-changelog.vala index baf8fc9..1f67fe0 100644 --- a/src/plugins/gst-renderer/rygel-gst-changelog.vala +++ b/src/plugins/gst-renderer/rygel-gst-changelog.vala @@ -52,6 +52,7 @@ public class Rygel.GstChangeLog : Object { private bool timeout () { // Emit notification service.notify ("LastChange", typeof (string), finish ()); + debug ("LastChange sent"); // Reset hash.clear (); @@ -64,11 +65,13 @@ public class Rygel.GstChangeLog : Object { private void ensure_timeout () { // Make sure we have a notification timeout if (service != null && timeout_id == 0) { + debug ("Setting up timeout for LastChange"); timeout_id = Timeout.add (200, timeout); } } public void log (string variable, string value) { + debug (@"'%s = %s' logged", variable, value); hash.set (variable, "<%s val=\"%s\"/>".printf (variable, value)); ensure_timeout (); -- 2.7.4