[vlc-devel] [PATCH 11/17] clock: remove vlc_clock_main_SetInputDejitter
Thomas Guillem
thomas at gllm.fr
Mon Feb 15 10:15:06 UTC 2021
Not used anymore, cf. ddda7e520945a63e58651c189c8a26b88f6ec3f6
---
src/clock/clock.c | 10 ----------
src/clock/clock.h | 3 ---
2 files changed, 13 deletions(-)
diff --git a/src/clock/clock.c b/src/clock/clock.c
index 1a2b451e2e6..6d675dfdbdc 100644
--- a/src/clock/clock.c
+++ b/src/clock/clock.c
@@ -53,7 +53,6 @@ struct vlc_clock_main_t
vlc_tick_t pause_date;
vlc_tick_t output_dejitter; /* Delay used to absorb the output clock jitter */
- vlc_tick_t input_dejitter; /* Delay used to absorb the input jitter */
bool abort;
};
@@ -348,7 +347,6 @@ vlc_clock_main_t *vlc_clock_main_New(void)
main_clock->last = clock_point_Create(VLC_TICK_INVALID, VLC_TICK_INVALID);
main_clock->pause_date = VLC_TICK_INVALID;
- main_clock->input_dejitter = DEFAULT_PTS_DELAY;
main_clock->output_dejitter = AOUT_MAX_PTS_ADVANCE * 2;
main_clock->abort = false;
@@ -373,14 +371,6 @@ void vlc_clock_main_Reset(vlc_clock_main_t *main_clock)
vlc_mutex_unlock(&main_clock->lock);
}
-void vlc_clock_main_SetInputDejitter(vlc_clock_main_t *main_clock,
- vlc_tick_t delay)
-{
- vlc_mutex_lock(&main_clock->lock);
- main_clock->input_dejitter = delay;
- vlc_mutex_unlock(&main_clock->lock);
-}
-
void vlc_clock_main_SetDejitter(vlc_clock_main_t *main_clock,
vlc_tick_t dejitter)
{
diff --git a/src/clock/clock.h b/src/clock/clock.h
index 98a6bdf5ed8..318eac8b5e1 100644
--- a/src/clock/clock.h
+++ b/src/clock/clock.h
@@ -74,9 +74,6 @@ void vlc_clock_main_Abort(vlc_clock_main_t *main_clock);
*/
void vlc_clock_main_Reset(vlc_clock_main_t *main_clock);
-void vlc_clock_main_SetInputDejitter(vlc_clock_main_t *main_clock,
- vlc_tick_t delay);
-
/**
* This function sets the dejitter delay to absorb the clock jitter
*
--
2.30.0
More information about the vlc-devel
mailing list