[Bug 723134] New: [hlsdemux] Playback may not always start when using a file:// url
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jan 27 14:35:16 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=723134
GStreamer | gst-plugins-bad | git
Summary: [hlsdemux] Playback may not always start when using a
file:// url
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: dpalmer at digisoft.tv
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=267357)
View: https://bugzilla.gnome.org/attachment.cgi?id=267357
Review: https://bugzilla.gnome.org/review?bug=723134&attachment=267357
Fix; check downloader->priv->download->completed before waiting.
We use hlsdemux with a file:// url, and have a change in place to set the file
blocksize to 64k, rather than the default 4k. This change exposes a race in
uridownloader; gst_uri_downloader_fetch_uri_with_range() races with EOS
handling in gst_uri_downloader_sink_event(). We sometimes see the EOS event
being raised, and the downloader->priv->cond condition then being missed by
gst_uri_downloader_fetch_uri_with_range(), which hangs.
I've attached a fix.
--
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