[vlc-devel] [PATCH] RFC: output_clock: respect first pts delay (FIXUP)

Denis Charmet typx at videolan.org
Thu Feb 14 18:14:11 CET 2019


Hi,

On 2019-02-14 10:17, Thomas Guillem wrote:
>> PCR is more related to DTS than PTS... beware of out of order 
>> pictures.
> 
> The fonction name is wrong, and the commit log too.
> What this patch is doing is increasing the dejitter of the output
> clock according to input latency.
> It worked for most of use cases: first audio block is 1sec ahead the
> first pcr => audio and video are paused for 1sec at startup.

To be fair I don't have a better solution to propose without a further 
rework of the whole input so as long as you check for Invalid and mark 
the whole PCR part as /* FIXME */ : LGETM.

Regards,

-- 
Denis Charmet - TypX



More information about the vlc-devel mailing list