[vlc-devel] [PATCH 10/10] vlc_tick: add VLC_TICK_EPSILON to express the tiniest vlc_tick_t that can be used

Rémi Denis-Courmont remi at remlab.net
Sun Jun 24 09:45:06 CEST 2018


I agree that defining 1 feels useless.

Le 24 juin 2018 00:43:56 GMT+01:00, Francois Cartegnie <fcvlcdev at free.fr> a écrit :
>Le 22/06/2018 à 14:53, Steve Lhomme a écrit :
>>  typedef int64_t vlc_tick_t;
>>  typedef vlc_tick_t mtime_t; /* deprecated, use vlc_tick_t */
>>  
>> +#define VLC_TICK_EPSILON      (1)
>
>I hardly see the need.
>
>Something else than 1 would mean our storage for our tick 'denominator'
>(10e6) is insufficient.
>
>
>-- 
>Francois Cartegnie
>VideoLAN - VLC Developer
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180624/09ab4180/attachment.html>


More information about the vlc-devel mailing list