[Bug 756913] New: hlsdemux: fix race condition while changing bitrate and seeking
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Oct 21 06:48:13 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=756913
Bug ID: 756913
Summary: hlsdemux: fix race condition while changing bitrate
and seeking
Classification: Platform
Product: GStreamer
Version: 1.4.5
OS: other
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: phmurphy at digisoft.tv
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
- Changed GST_M3U8_CLIENT_LOCK to a recursive mutex
- This was needed as a race condition was present in
gst_hls_demux_change_playlist, while switching
variant it was possible for a seek to occur because the mutex was unlocked.
This seek would fail at this point because
client->current->endlist would not have been set to true yet. Changing
GST_M3U8_CLIENT_LOCK to a recursive mutex prevents
a seek occurring while switching variant.
- This fix only applies to 1.4.5
- I understand that changing GST_M3U8_CLIENT_LOCK to a recursive mutex may not
be an ideal solution, so I am open to suggestions on a more appropriate
solution.
--
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