[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


Hello,

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

-- 
2.30.0



More information about the vlc-devel mailing list