[vlc-devel] [PATCH v2 0/5] Forward input_clock drift to the main_clock

Thomas Guillem thomas at gllm.fr
Mon Mar 8 16:13:33 UTC 2021


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 (5):
  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       |  1 +
 src/clock/input_clock.c | 17 ++++++++++++++++-
 src/clock/input_clock.h | 17 ++++++++++++++++-
 src/input/es_out.c      | 16 ++++++++++++++--
 5 files changed, 60 insertions(+), 6 deletions(-)


More information about the vlc-devel mailing list