VLC  4.0.0-dev
Data Fields
vlc_player_timer_point Struct Reference

Player timer point. More...

Data Fields

float position
 Position in the range [0.0f;1.0]. More...
 
double rate
 Rate of the player. More...
 
vlc_tick_t ts
 Valid time >= VLC_TICK_0 or VLC_TICK_INVALID, subtract this time with VLC_TICK_0 to get the original value. More...
 
vlc_tick_t length
 Valid length >= VLC_TICK_0 or VLC_TICK_INVALID. More...
 
vlc_tick_t system_date
 System date of this record (always valid), this date can be in the future or in the past. More...
 

Detailed Description

Player timer point.

See also
vlc_player_timer_cbs.on_update

Field Documentation

◆ length

vlc_tick_t vlc_player_timer_point::length

Valid length >= VLC_TICK_0 or VLC_TICK_INVALID.

Referenced by vlc_player_timer_point_Interpolate(), vlc_player_UpdateTimer(), and vlc_player_UpdateTimerSource().

◆ position

float vlc_player_timer_point::position

◆ rate

double vlc_player_timer_point::rate

◆ system_date

vlc_tick_t vlc_player_timer_point::system_date

System date of this record (always valid), this date can be in the future or in the past.

The special value of INT64_MAX mean that the clock was paused when this point was updated. In that case, vlc_player_timer_point_Interpolate() will return the current ts/pos of this point (there is nothing to interpolate).

Referenced by input_thread_Events(), vlc_player_InitTimer(), vlc_player_RemoveTimerSource(), vlc_player_SendTimerSourceUpdates(), vlc_player_timer_point_Interpolate(), vlc_player_UpdateTimer(), vlc_player_UpdateTimerSource(), and vlc_player_UpdateTimerState().

◆ ts

vlc_tick_t vlc_player_timer_point::ts

Valid time >= VLC_TICK_0 or VLC_TICK_INVALID, subtract this time with VLC_TICK_0 to get the original value.

Referenced by vlc_player_SendSmpteTimerSourceUpdates(), vlc_player_timer_point_Interpolate(), vlc_player_UpdateTimer(), and vlc_player_UpdateTimerSource().


The documentation for this struct was generated from the following file: