mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
Revert "videomixer: When all sinkpads are eos, update output segment stop and forward it"
This reverts commit 2d3910fc79
.
It's not solving any problem and instead causes code to fall apart.
https://bugzilla.gnome.org/show_bug.cgi?id=701519
This commit is contained in:
parent
213cd2777b
commit
01cc493944
1 changed files with 1 additions and 4 deletions
|
@ -1024,11 +1024,8 @@ gst_videomixer2_collected (GstCollectPads * pads, GstVideoMixer2 * mix)
|
|||
ret = GST_FLOW_OK;
|
||||
goto done;
|
||||
} else if (res == -1) {
|
||||
GST_DEBUG_OBJECT (mix, "All sinkpads are EOS -- forwarding");
|
||||
|
||||
mix->segment.stop = output_end_time;
|
||||
GST_VIDEO_MIXER2_UNLOCK (mix);
|
||||
gst_pad_push_event (mix->srcpad, gst_event_new_segment (&mix->segment));
|
||||
GST_DEBUG_OBJECT (mix, "All sinkpads are EOS -- forwarding");
|
||||
gst_pad_push_event (mix->srcpad, gst_event_new_eos ());
|
||||
ret = GST_FLOW_EOS;
|
||||
goto done_unlocked;
|
||||
|
|
Loading…
Reference in a new issue