vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Mon Apr 12 10:38:04 2021 +0200| [93048765d0c742fbd1d9f1aab6978468539d3453] | committer: Thomas Guillem
core: add --clock-master long description > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=93048765d0c742fbd1d9f1aab6978468539d3453 --- src/libvlc-module.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/libvlc-module.c b/src/libvlc-module.c index 87ecae6317..8050b2eea1 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -537,6 +537,15 @@ static const char *const screensaver_texts[] = { "algorithms should try to compensate (in milliseconds)." ) #define CLOCK_MASTER_TEXT N_("Clock master source") +#define CLOCK_MASTER_LONGTEXT N_( "Select the clock master source:\n" \ + "auto: best clock source, input if the access can't be paced " \ + "(when playing live content), or audio otherwise (most likely).\n" \ + "input: all tracks are driven by the input clock, via PCR updates " \ + "from the demuxer. This restore the VLC 3.0 clock behavior where both audio " \ + "and video tracks can be altered to catch up with the input.\n" \ + "audio: if an audio track is playing, the audio output will drive the " \ + "clock (Fallback to Monotonic if there is no audio tracks).\n" \ + "monotonic: all tracks are driven by the monotonic clock of the system.") static const char *const ppsz_clock_master_values[] = { "auto", "input", "audio", "monotonic", @@ -1979,7 +1988,7 @@ vlc_module_begin () CLOCK_JITTER_LONGTEXT, true ) change_safe() add_string( "clock-master", "auto", - CLOCK_MASTER_TEXT, NULL, true ) + CLOCK_MASTER_TEXT, CLOCK_MASTER_LONGTEXT, true ) change_string_list( ppsz_clock_master_values, ppsz_clock_master_descriptions ) add_directory("input-record-path", NULL, _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits