From 30c425c29fcfe35061864c7d0756482d87a4b3ca Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 11 Apr 2012 11:55:28 +0200 Subject: [PATCH] queue2: add_range already updates the level --- plugins/elements/gstqueue2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/elements/gstqueue2.c b/plugins/elements/gstqueue2.c index 969c985..0e3c743 100644 --- a/plugins/elements/gstqueue2.c +++ b/plugins/elements/gstqueue2.c @@ -743,8 +743,6 @@ apply_segment (GstQueue2 * queue, GstEvent * event, GstSegment * segment, if (!QUEUE_IS_USING_QUEUE (queue)) { /* start is where we'll be getting from and as such writing next */ queue->current = add_range (queue, start); - /* update the stats for this range */ - update_cur_level (queue, queue->current); } } -- 2.7.4