[vlc-devel] [PATCH v3 0/6] Forward input_clock drift to the main_clock

Thomas Guillem thomas at gllm.fr
Fri Mar 12 16:08:15 UTC 2021


Hello,

Changes since v2:
 - add a first commit to document internal clock.c functions
 - Document vlc_clock_main_SetInputDrift

Changes since v1:
Here is a new patch set following the discussion we had in the mail thread:
[PATCH 08/17] es_out: use the input_clock as a master source of vlc_clock"

It is way more simple than my first attempt. I was able to test it with
the following hack:
https://code.videolan.org/tguillem/vlc/-/commit/4a7e799627bdacdea406a277e0a34d723ee32404

Best regards,

Thomas Guillem (6):
  clock: document internal functions
  clock: add vlc_clock_main_SetInputDrift
  input_clock: forward drift update to the owner
  es_out: forward input_clock drift update to the main clock
  input_clock: a valid cbs struct is now mandatory
  es_out: fallback to monotonic if the input can't be paced

 src/clock/clock.c       | 15 +++++++++++++--
 src/clock/clock.h       | 19 +++++++++++++++++++
 src/clock/input_clock.c | 17 ++++++++++++++++-
 src/clock/input_clock.h | 17 ++++++++++++++++-
 src/input/es_out.c      | 16 ++++++++++++++--
 5 files changed, 78 insertions(+), 6 deletions(-)

-- 
2.30.0



More information about the vlc-devel mailing list