[vlc-devel] [PATCH 2/2] adaptive: Always set timestamps_offset on start

Francois Cartegnie fcvlcdev at free.fr
Tue Sep 24 18:50:51 CEST 2019


Le 23/09/2019 à 10:43, Jérémy VIGNELLES via vlc-devel a écrit :
>      vlc_mutex_lock(&lock);
>      if( !timestamps_check_done )
>      {
> -        if( i_start < CLOCK_FREQ ) /* Starts 0 */
> -            timestamps_offset = timestamps_expected;
> +        timestamps_offset = timestamps_expected - i_start;
>          timestamps_check_done = true;
>      }
>      vlc_mutex_unlock(&lock);

This changes are the ones I pointed you to fix your own issue.

We're not going to break/desync all non zero starting streams.

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list