VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_player_timer_point Struct Reference

Player timer point. More...

#include <vlc_player.h>

Data Fields

double position
 Position in the range [0.0f;1.0].
 
double rate
 Rate of the player.
 
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.
 
vlc_tick_t length
 Valid length >= VLC_TICK_0 or VLC_TICK_INVALID.
 
vlc_tick_t system_date
 System date of this record (always valid), this date can be in the future or in the past.
 

Detailed Description

Player timer point.

See also
vlc_player_timer_cbs.on_update

Field Documentation

◆ length

vlc_tick_t vlc_player_timer_point::length

◆ position

double vlc_player_timer_point::position

◆ 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_UpdateTimerBestSource(), vlc_player_UpdateTimerEvent(), and vlc_player_UpdateTimerSource().

◆ 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(), vlc_player_UpdateTimerBestSource(), vlc_player_UpdateTimerSmpteSource(), and vlc_player_UpdateTimerSource().


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