[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


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:

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(-)


More information about the vlc-devel mailing list