[vlc-devel] [PATCH 1/2] hls: Increased the precision of the time scale

jeremy.vignelles at dev3i.fr jeremy.vignelles at dev3i.fr
Thu Sep 26 09:05:22 CEST 2019


What is truncated? The patch or the timestamp precision?

-----Message d'origine-----
De : vlc-devel <vlc-devel-bounces at videolan.org> De la part de Francois Cartegnie
Envoyé : mercredi 25 septembre 2019 21:05
À : vlc-devel at videolan.org
Objet : Re: [vlc-devel] [PATCH 1/2] hls: Increased the precision of the time scale

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
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list