[Bug 756556] hlsdemux: hang if application quits just after start

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 14 04:11:16 PDT 2015


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

--- Comment #1 from Rajat Verma <kameyameha at gmail.com> ---
This looks like a race between below two threads:

application goes to clean up resources, calling
gstadaptivedemux.c: gst_adaptive_demux_change_state ()
  GST_STATE_CHANGE_PAUSED_TO_READY
  gst_adaptive_demux_reset ()
    gst_adaptive_demux_stop_tasks ()

and thread downloading the segments:
gst_adaptive_demux_stream_advance_fragment ()
  gst_adaptive_demux_stream_advance_fragment_unlocked()

which leads to resetting of variables: stream->demux->cancelled &
stream->download_finished and thus the hang.

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