Skip to content
Snippets Groups Projects
Commit 8db20416 authored by Jérémy VIGNELLES's avatar Jérémy VIGNELLES Committed by Steve Lhomme
Browse files

hls: Increase the precision of the time scale

duration computations were made with precision loss, which add up and leads to unprecise seeking if the stream is really long (like a day or two)
ref : https://mailman.videolan.org/pipermail/vlc-devel/2019-September/127759.html
parent 6f1b46db
No related branches found
No related tags found
1 merge request!439hls: Increase the precision of the time scale
Pipeline #122133 passed with stage
in 12 minutes and 37 seconds
......@@ -220,7 +220,7 @@ void M3U8Parser::parseSegments(vlc_object_t *, HLSRepresentation *rep, const std
{
SegmentList *segmentList = new (std::nothrow) SegmentList(rep);
Timescale timescale(100);
Timescale timescale(1000000);
rep->addAttribute(new TimescaleAttr(timescale));
rep->b_loaded = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment