[vlc-devel] [PATCH 1/4] es_out: fix flapping PREROLL flag on non dated packets

Francois Cartegnie fcvlcdev at free.fr
Thu Oct 1 12:10:21 CEST 2020


Le 01/10/2020 à 08:01, Steve Lhomme a écrit :
> 
> If i_date is interpolated, because the p_block has no PTS/DTS. It seems
> fair to assume the p_block will also not have an i_length. So I'm not
> sure what this value will lead to.

We use previous, pcr or interpolated.

If there's no previous, that's start of stream, the comparison will
trigger preroll (just like before the patch), and we always need preroll
 on start.

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list