[Bug 689083] [hlsdemux] hlsdemux downloads new segment only when queue is empty

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 4 09:19:03 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=689083
  GStreamer | gst-plugins-bad | unspecified

Youness Alaoui <youness.alaoui> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |youness.alaoui at collabora.co
                   |                            |.uk

--- Comment #3 from Youness Alaoui <youness.alaoui at collabora.co.uk> 2012-12-04 17:19:01 UTC ---
Hlsdemux is a very complex element that simply will not work if it's not used
inside of playbin2 because it will use the decode-chain+decode-group system of
decodebin2 and its handling by playbin2 in order to properly play the segments
at varying bandwidths (I can go in further details as to why, if you require
it).

Inside playbin2, hlsdemux will be followed by a queue2 element which will
automatically dump all of the fragments (from the internal queue) into it, this
means that the demux->queue will always be empty after the initial caching of
fragments. That check to ensure the queue is empty is simply to avoid cases
where the pipeline is blocked for some reason (a pad block maybe, or something
else) and the queue2 element gets full. We wouldn't want to keep downloading
fragments if they are not being played.
Please try using playbin2 and see if it solves all your issues.

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