[Bug 733169] decodebin: improve deadend pads handling
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jul 14 09:53:12 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=733169
GStreamer | gst-plugins-base | unspecified
--- Comment #2 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-07-14 16:53:10 UTC ---
Created an attachment (id=280665)
View: https://bugzilla.gnome.org/attachment.cgi?id=280665
Review: https://bugzilla.gnome.org/review?bug=733169&attachment=280665
decodebin: handle group switching for deadend group
Gracefully handle switching groups that all pads are deadend.
This can happen when quickly switching programs on mpegts as the
output is unaligned it can happen that not enough data was accumulated at
parsers to generate any buffers, causing the stream to receive EOS before
any data can be decoded.
To handle this scenario, the _expose function now also gets if there is
any next group to be exposed along with the list of endpads. If there are
no endpads and there is another group to expose it will switch to this next
group and then retry exposing the streams.
Also, the requirement to only switch from the chain that has the endpad had
to be modified to care for when the drainpad is NULL
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list