mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
videoaggregator: Remove broken timestamps-going-backwards check
This would've also triggered if for some reason the segment was updated in such a way that PTS went backwards, but the running time increased. Like what happens when non-flushing seeks are done. We're doing a proper buffer-from-the-past check a few lines below based on the running time, which is the only time we should care about here.
This commit is contained in:
parent
26d3057d98
commit
63c776adee
1 changed files with 0 additions and 10 deletions
|
@ -990,16 +990,6 @@ gst_videoaggregator_fill_queues (GstVideoAggregator * vagg,
|
||||||
vinfo = &pad->info;
|
vinfo = &pad->info;
|
||||||
|
|
||||||
/* FIXME: Make all this work with negative rates */
|
/* FIXME: Make all this work with negative rates */
|
||||||
|
|
||||||
if ((start_time < GST_BUFFER_TIMESTAMP (buf))
|
|
||||||
|| (pad->buffer && start_time < GST_BUFFER_TIMESTAMP (pad->buffer))) {
|
|
||||||
GST_DEBUG_OBJECT (pad, "Buffer from the past, dropping");
|
|
||||||
gst_buffer_unref (buf);
|
|
||||||
gst_aggregator_pad_drop_buffer (bpad);
|
|
||||||
need_more_data = TRUE;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
end_time = GST_BUFFER_DURATION (buf);
|
end_time = GST_BUFFER_DURATION (buf);
|
||||||
|
|
||||||
if (end_time == -1) {
|
if (end_time == -1) {
|
||||||
|
|
Loading…
Reference in a new issue