diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index 6fe9b9222a..e3c1ddc13b 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -1023,6 +1023,9 @@ gst_videomixer2_collected (GstCollectPads * pads, GstVideoMixer2 * mix) goto done; } else if (res == -1) { GST_DEBUG_OBJECT (mix, "All sinkpads are EOS -- forwarding"); + + mix->segment.stop = output_end_time; + gst_pad_push_event (mix->srcpad, gst_event_new_segment (&mix->segment)); gst_pad_push_event (mix->srcpad, gst_event_new_eos ()); ret = GST_FLOW_EOS; goto done;