core: add the "auto" clock source
commit66646d81a4b7b666b59853bd815635e13d83a4a6
authorThomas Guillem <thomas@gllm.fr>
Thu, 1 Apr 2021 13:31:49 +0000 (1 15:31 +0200)
committerThomas Guillem <thomas@gllm.fr>
Mon, 12 Apr 2021 07:19:23 +0000 (12 09:19 +0200)
treeb161c0df4e8160bb58d517e6be638c700736df2d
parent2200210d935e515e25094cc776f5828be17caa61
core: add the "auto" clock source

The "--clock-master=auto" option will select the input as the clock
source when the input can't pace (live content), and will fallback to
the "audio" source otherwise (most common case).
src/clock/clock.h
src/input/es_out.c
src/libvlc-module.c