[vlc-devel] [PATCH 12/17] clock: remove vlc_clock_main_Reset

Thomas Guillem thomas at gllm.fr
Mon Feb 15 10:15:07 UTC 2021


It is now handled directly by the input clock or the master clock.
---
 src/clock/clock.c | 7 -------
 src/clock/clock.h | 5 -----
 2 files changed, 12 deletions(-)

diff --git a/src/clock/clock.c b/src/clock/clock.c
index 6d675dfdbdc..d5453193160 100644
--- a/src/clock/clock.c
+++ b/src/clock/clock.c
@@ -364,13 +364,6 @@ void vlc_clock_main_Abort(vlc_clock_main_t *main_clock)
     vlc_mutex_unlock(&main_clock->lock);
 }
 
-void vlc_clock_main_Reset(vlc_clock_main_t *main_clock)
-{
-    vlc_mutex_lock(&main_clock->lock);
-    vlc_clock_main_reset(main_clock);
-    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 318eac8b5e1..c1d675c7d23 100644
--- a/src/clock/clock.h
+++ b/src/clock/clock.h
@@ -69,11 +69,6 @@ void vlc_clock_main_Delete(vlc_clock_main_t *main_clock);
  */
 void vlc_clock_main_Abort(vlc_clock_main_t *main_clock);
 
-/**
- * Reset the vlc_clock_main_t
- */
-void vlc_clock_main_Reset(vlc_clock_main_t *main_clock);
-
 /**
  * This function sets the dejitter delay to absorb the clock jitter
  *
-- 
2.30.0



More information about the vlc-devel mailing list