[totem] backend: Add more debug for ranges
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Add more debug for ranges
- Date: Thu, 19 Jul 2012 15:25:30 +0000 (UTC)
commit f8802a4336de43e403a0dc48dc8ee51dff23c720
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jul 19 15:42:41 2012 +0100
backend: Add more debug for ranges
src/backend/bacon-video-widget.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 5bb6ea2..8e19d13 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -2439,6 +2439,17 @@ bvw_query_buffering_timeout (BaconVideoWidget *bvw)
", buffering left %" G_GINT64_FORMAT ", percent %d%%",
start, stop, bvw->priv->buffering_left, percent);
+#if 0
+ guint i;
+ for (i = 0; i < n_ranges; i++) {
+ gint64 n_start, n_stop;
+ gst_query_parse_nth_buffering_range (query, i, &n_start, &n_stop);
+ GST_DEBUG ("%s range %d: start %" G_GINT64_FORMAT " stop %" G_GINT64_FORMAT,
+ n_stop == stop ? "*" : " ",
+ i, n_start, n_stop);
+ }
+#endif
+
if (stop != -1)
fill = (gdouble) stop / GST_FORMAT_PERCENT_MAX;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]