queue2: remove unused variable
authorThiago Santos <ts.santos@sisa.samsung.com>
Mon, 10 Mar 2014 12:49:09 +0000 (09:49 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Mon, 10 Mar 2014 13:10:24 +0000 (10:10 -0300)
buffering_iteration was never used

plugins/elements/gstqueue2.c
plugins/elements/gstqueue2.h

index 36cd405..d04b9b7 100644 (file)
@@ -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;
     }
   }
index 11ee33c..3fe5fc4 100644 (file)
@@ -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;