[Bug 729124] multiqueue: avoid signaling overrun on the first segment

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 28 09:20:11 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729124
  GStreamer | gstreamer (core) | unspecified

--- Comment #1 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-04-28 16:20:05 UTC ---
Created an attachment (id=275359)
 View: https://bugzilla.gnome.org/attachment.cgi?id=275359
 Review: https://bugzilla.gnome.org/review?bug=729124&attachment=275359

multiqueue: avoid signaling overrun on the first segment

When the first segment has position != 0 and position > max-size-time
it will immediatelly cause the multiqueue to signal overrun.

This can happen easily with adaptive streams when switching bitrates
and starting a new group. The segment for this new group will have
a position that is much greater than 0 and will lead to this issue.
This is particularly harmful when the adaptive stream uses mpegts
that doesn't emit no-more-pads and it might happen that only one
of the stream pads was added when the multiqueue overruns and gets
the group ready for exposing. So the user will only get audio or
video.

The solution is to copy immediately the first segment received from
the sink to the source segment.

-- 
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