[vlc-devel] slave clock conversion and pause state
Francois Cartegnie
fcvlcdev at free.fr
Thu Jul 4 13:25:52 CEST 2019
The new clock returns INT64_MAX when the pause is active.
This prevents timestamp conversion in background processing, and somehow
is not compatible with recent spu change (reconversion each frame to
handle live delay changes) when slave & paused.
I'm wondering why it is needed to return INT64_MAX instead of a frozen
time like the master does.
static vlc_tick_t vlc_clock_slave_to_system_locked(vlc_clock_t *clock,
vlc_tick_t now,
vlc_tick_t ts, double
rate)
{
vlc_clock_main_t *main_clock = clock->owner;
if (main_clock->pause_date != VLC_TICK_INVALID)
return INT64_MAX;
--
Francois Cartegnie
VideoLAN - VLC Developer
More information about the vlc-devel
mailing list