mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
pad: don't pause task on EOS
Elements should not rely on core to pause tasks on EOS.
This commit is contained in:
parent
bae0c4b0c6
commit
b0756827f6
1 changed files with 0 additions and 6 deletions
|
@ -2637,12 +2637,6 @@ gst_pad_event_default (GstPad * pad, GstObject * parent, GstEvent * event)
|
||||||
GST_LOG_OBJECT (pad, "default event handler");
|
GST_LOG_OBJECT (pad, "default event handler");
|
||||||
|
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_EOS:
|
|
||||||
{
|
|
||||||
GST_DEBUG_OBJECT (pad, "pausing task because of eos");
|
|
||||||
gst_pad_pause_task (pad);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case GST_EVENT_CAPS:
|
case GST_EVENT_CAPS:
|
||||||
forward = GST_PAD_IS_PROXY_CAPS (pad);
|
forward = GST_PAD_IS_PROXY_CAPS (pad);
|
||||||
result = TRUE;
|
result = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue