[Bug 763770] multiqueue: not-linked pads might not drain out at EOS

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 1 07:47:39 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763770

--- Comment #7 from Edward Hervey <bilboed at bilboed.com> ---
Created attachment 330701
  --> https://bugzilla.gnome.org/attachment.cgi?id=330701&action=edit
multiqueue: Fix behaviour with not-linked and eos pads

This is an update on c9b6848885f4675d447e823c8fb117e247658252
multiqueue: Fix not-linked pad handling at EOS

While that commit did fix the behaviour if upstream sent a GST_EVENT_EOS,
it would break the same issue when *downstream* returns GST_FLOW_EOS
(which can happen for example when downstream decoders receive data
from after the segment stop).

GST_PAD_IS_EOS() is only TRUE when a GST_EVENT_EOS has flown through it
and not when a GST_EVENT_EOS has gone through it.

In order to handle both cases, also take into account the last flow
return.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list