Commit f2364cb3 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

videoaggregator: Don't output 0-duration buffers at the segment end

https://bugzilla.gnome.org/show_bug.cgi?id=740376
parent 0ec9bf61
......@@ -1190,9 +1190,13 @@ gst_videoaggregator_aggregate (GstAggregator * agg)
if (agg->segment.stop != -1)
output_end_time = MIN (output_end_time, agg->segment.stop);
res =
gst_videoaggregator_fill_queues (vagg, output_start_time,
output_end_time);
if (output_end_time == output_start_time) {
res = GST_FLOW_EOS;
} else {
res =
gst_videoaggregator_fill_queues (vagg, output_start_time,
output_end_time);
}
if (res == GST_FLOW_NEEDS_DATA) {
GST_DEBUG_OBJECT (vagg, "Need more data for decisions");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment