mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
queue2: fix merge error
This commit is contained in:
parent
086f8855be
commit
8ab260d116
1 changed files with 1 additions and 1 deletions
|
@ -661,7 +661,7 @@ apply_segment (GstQueue2 * queue, GstEvent * event, GstSegment * segment,
|
||||||
gst_event_copy_segment (event, segment);
|
gst_event_copy_segment (event, segment);
|
||||||
|
|
||||||
if (segment->format == GST_FORMAT_BYTES) {
|
if (segment->format == GST_FORMAT_BYTES) {
|
||||||
if (!QUEUE_IS_USING_QUEUE (queue)) {
|
if (!QUEUE_IS_USING_QUEUE (queue) && is_sink) {
|
||||||
/* start is where we'll be getting from and as such writing next */
|
/* start is where we'll be getting from and as such writing next */
|
||||||
queue->current = add_range (queue, segment->start);
|
queue->current = add_range (queue, segment->start);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue