[rygel] gst-renderer: ChangeLog spits more debug info
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] gst-renderer: ChangeLog spits more debug info
- Date: Fri, 23 Oct 2009 17:14:58 +0000 (UTC)
commit 849d914aa63c3a4be38bc031680d758fbeabbc88
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Oct 13 18:46:49 2009 +0300
gst-renderer: ChangeLog spits more debug info
src/plugins/gst-renderer/rygel-gst-changelog.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]