[totem] Add element name in download buffering debug output



commit 5ff367b005b7d946ce45f6d5d47abe6e7b26ab9a
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 8 19:32:25 2010 +0100

    Add element name in download buffering debug output
    
    It's useful for us to know which element gave us the download buffering
    stats, instead of guessing ("queue2 or playbin?").

 src/backend/bacon-video-widget-gst-0.10.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 33c94b3..2afcc20 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -2446,7 +2446,8 @@ bvw_query_buffering_timeout (BaconVideoWidget *bvw)
     else
       fill = -1.0;
 
-    GST_DEBUG ("download buffer filled up to %f%%", fill * 100.0);
+    GST_DEBUG ("download buffer filled up to %f%% (element: %s)", fill * 100.0,
+	       G_OBJECT_TYPE_NAME (element));
 
     g_signal_emit (bvw, bvw_signals[SIGNAL_DOWNLOAD_BUFFERING], 0, fill);
 



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