[totem] backend: Better debugging when paused buffering



commit beef43b4f6f6ac3a4c0a69cf9e0e766e8a152d3c
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jun 30 16:35:47 2011 +0100

    backend: Better debugging when paused buffering

 src/backend/bacon-video-widget-gst-0.10.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 96bd047..90ca5e2 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -1856,6 +1856,8 @@ bvw_handle_buffering_message (GstMessage * message, BaconVideoWidget *bvw)
     if (cur_state != GST_STATE_PAUSED) {
       GST_DEBUG ("Buffering ... temporarily pausing playback");
       gst_element_set_state (bvw->priv->play, GST_STATE_PAUSED);
+    } else {
+      GST_LOG ("Buffering (already paused) ... %d", percent);
     }
     bvw->priv->buffering = TRUE;
   } else {



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