queue2: remove unused variable

This commit is contained in:
Wim Taymans 2010-06-16 16:23:02 +02:00
parent 4478c90642
commit ecd8d3be3a
2 changed files with 1 additions and 4 deletions

View file

@ -561,7 +561,6 @@ add_range (GstQueue2 * queue, guint64 offset)
range->writing_pos = offset;
range->rb_writing_pos = range->rb_offset;
range->reading_pos = offset;
range->rb_reading_pos = range->rb_offset;
range->max_reading_pos = offset;
/* insert sorted */
@ -1525,12 +1524,11 @@ gst_queue2_write_buffer_to_ring_buffer (GstQueue2 * queue, GstBuffer * buffer)
guint buf_size, rem_size;
const guint rb_size = queue->ring_buffer_max_size;
guint8 *data;
guint64 writing_pos, reading_pos, new_writing_pos;
guint64 writing_pos, new_writing_pos;
gint64 space, rb_space;
GstQueue2Range *range, *prev;
writing_pos = queue->current->rb_writing_pos;
reading_pos = queue->current->rb_reading_pos;
rem = buffer;

View file

@ -65,7 +65,6 @@ struct _GstQueue2Range
guint64 writing_pos; /* writing position in source */
guint64 rb_writing_pos; /* writing position in ring buffer */
guint64 reading_pos; /* reading position in source */
guint64 rb_reading_pos; /* reading position in ring buffer */
guint64 max_reading_pos; /* latest requested offset in source */
};