[Bug 780559] HLS m3u8 / decodebin fails on custom playlist

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Mar 26 13:32:05 UTC 2017


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

--- Comment #2 from Jan Schmidt <thaytan at noraisin.net> ---
The 2nd line in the file, the #EXT-X-TWITCH-INFO line is 380 bytes long, and so
our typefind function never detects this as an HLS file - because it's only
checking the first 256 bytes arbitrarily.

Here's a PoC fix. A better one might be to rewrite that typefind function to
check (for example) the first 5 or so *lines* in the input for known HLS tags.
Since the typefind function short-circuits if the file doesn't start with
#EXTM3U, it should still quite quickly fail on other inputs.

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