mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Set the element to eos after all EOS events are pushed
Original commit message from CVS: Set the element to eos after all EOS events are pushed
This commit is contained in:
parent
ea74061a18
commit
6f8ddd3043
1 changed files with 1 additions and 1 deletions
|
@ -2355,8 +2355,8 @@ gst_pad_event_default (GstPad *pad, GstEvent *event)
|
|||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_EOS:
|
||||
gst_element_set_eos (element);
|
||||
gst_pad_event_default_dispatch (pad, element, event);
|
||||
gst_element_set_eos (element);
|
||||
/* we have to try to schedule another element because this one is disabled */
|
||||
gst_element_yield (element);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue