[vlc-devel] [RFC PATCH 0/9] Fixing A/V dejitter with high latency devices

Thomas Guillem thomas at gllm.fr
Thu Dec 10 20:14:47 CET 2020



On Thu, Dec 10, 2020, at 18:35, Francois Cartegnie wrote:
> Le 10/12/2020 à 18:10, Thomas Guillem a écrit :
> > 
> > 2/ Add a callback to the master clock that will fetch the aout delay.
> > This callback could be triggered by the vout before displaying a frame.
> 
> That means trigger condition is generally when converting the first non 
> master stream timestamp ?

Indeed, so if the vout is early (audio not ready), the time_get() callback won't return a valid delay and the vout will use the monotonic clock. Then it will wait for the frame display time with vlc_clock_Wait(). This waiting function should take care of polling the last delay before returning.

> 
> -- 
> 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