From dc8f0932fea3073147b433596652d30138e8fad2 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 10 Mar 2014 09:49:09 -0300 Subject: [PATCH] queue2: remove unused variable buffering_iteration was never used --- plugins/elements/gstqueue2.c | 1 - plugins/elements/gstqueue2.h | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins/elements/gstqueue2.c b/plugins/elements/gstqueue2.c index 36cd405..d04b9b7 100644 --- a/plugins/elements/gstqueue2.c +++ b/plugins/elements/gstqueue2.c @@ -894,7 +894,6 @@ update_buffering (GstQueue2 * queue) * below the low threshold */ if (percent < queue->low_percent) { queue->is_buffering = TRUE; - queue->buffering_iteration++; post = TRUE; } } diff --git a/plugins/elements/gstqueue2.h b/plugins/elements/gstqueue2.h index 11ee33c..3fe5fc4 100644 --- a/plugins/elements/gstqueue2.h +++ b/plugins/elements/gstqueue2.h @@ -111,7 +111,6 @@ struct _GstQueue2 /* current buffering state */ gboolean is_buffering; gint buffering_percent; - guint buffering_iteration; /* for measuring input/output rates */ GTimer *in_timer; -- 2.7.4