queue2: add_range already updates the level

This commit is contained in:
Wim Taymans 2012-04-11 11:55:28 +02:00
parent 30872d3a5f
commit 30c425c29f

View file

@ -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);
}
}