input_clock: remove input_clock_GetSystemOrigin()

It was only used from ES_OUT_GET_PCR_SYSTEM, that is now removed, cf.
previous commit.
This commit is contained in:
Thomas Guillem 2023-11-02 15:33:21 +01:00 committed by Steve Lhomme
parent 036003a466
commit fbb608d18c
2 changed files with 0 additions and 15 deletions

View File

@ -412,15 +412,6 @@ void input_clock_ChangeSystemOrigin( input_clock_t *cl, bool b_absolute, vlc_tic
UpdateListener( cl );
}
void input_clock_GetSystemOrigin( input_clock_t *cl, vlc_tick_t *pi_system, vlc_tick_t *pi_delay )
{
assert( cl->b_has_reference );
*pi_system = cl->ref.system;
if( pi_delay )
*pi_delay = cl->i_pts_delay;
}
#warning "input_clock_SetJitter needs more work"
void input_clock_SetJitter( input_clock_t *cl,
vlc_tick_t i_pts_delay, int i_cr_average )

View File

@ -99,12 +99,6 @@ void input_clock_ChangeRate( input_clock_t *, float rate );
*/
void input_clock_ChangePause( input_clock_t *, bool b_paused, vlc_tick_t i_date );
/**
* This function returns the original system value date and the delay for the current
* reference point (a valid reference point must have been set).
*/
void input_clock_GetSystemOrigin( input_clock_t *, vlc_tick_t *pi_system, vlc_tick_t *pi_delay );
/**
* This function allows rebasing the original system value date (a valid
* reference point must have been set).