[vlc-devel] [PATCH 1/2] hls: Increased the precision of the time scale
Francois Cartegnie
fcvlcdev at free.fr
Wed Sep 25 21:04:53 CEST 2019
Le 25/09/2019 à 10:15, Jérémy VIGNELLES via vlc-devel a écrit :
> diff --git a/modules/demux/hls/playlist/Parser.cpp b/modules/demux/hls/playlist/Parser.cpp
> index 54e18d8819..687fcebcbb 100644
> --- a/modules/demux/hls/playlist/Parser.cpp
> +++ b/modules/demux/hls/playlist/Parser.cpp
> @@ -164,7 +164,7 @@ void M3U8Parser::parseSegments(vlc_object_t *, Representation *rep, const std::l
> {
> SegmentList *segmentList = new (std::nothrow) SegmentList(rep);
>
> - rep->setTimescale(100);
> + rep->setTimescale(1000000);
> rep->b_loaded = true;
>
> mtime_t totalduration = 0;
Still truncated.
--
Francois Cartegnie
VideoLAN - VLC Developer
More information about the vlc-devel
mailing list