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 */
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;
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 */
};