Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Trim whitespace in playlist #282

Closed
wants to merge 3 commits into from
Closed

Conversation

forbesjo
Copy link
Contributor

Fix from #279.

If playlists contain "\r\n" line endings or even whitespace lines the m3u8 parser falsely detects those lines as "empty" segment URI-s. This results in faulty duration calculation and possible failure at playback start. By trimming line data before feeding it into the parser this issue is fixed.

@dmlap
Copy link
Member

dmlap commented May 27, 2015

LGTM

@forbesjo forbesjo closed this in 4f6eaeb May 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants