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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 26 05:23:53 PST 2012


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

           Summary: [hlsdemux] hlsdemux downloads new segment only when
                    queue is empty
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: chaudhari.shraddha at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


1. hlsdemux update thread(gst_hls_demux_update_thread) downloads new segment
only when  the queue is empty, 
if (g_queue_is_empty (demux->queue)) {

what is the point of queue then, it is being used only for initial caching of
segments

am I missing something ?
i think the condition should be this ?

if(g_queue_get_length(demux->queue) < demux->fragments_cache) {

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