From cbca7229daf9e6a12a3e7e10bf34548da72502fb Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sat, 5 Jul 2008 18:36:15 +0200 Subject: [PATCH] libvlc: Fix --auto-adjust-pts-delay help text. --- src/libvlc-module.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/libvlc-module.c b/src/libvlc-module.c index 24650b2f1b..fcb98d7976 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -995,12 +995,17 @@ static const char *const ppsz_clock_descriptions[] = #define MINIMIZE_THREADS_LONGTEXT N_( \ "This option minimizes the number of threads needed to run VLC.") -#define USE_STREAM_IMMEDIATE N_("(Experimental) Use the StreamImmediate " \ - "method and minimize the caching done at the access level.") +#define USE_STREAM_IMMEDIATE N_("(Experimental) Don't do caching at the access level.") #define USE_STREAM_IMMEDIATE_LONGTEXT N_( \ "This option is useful if you want to lower the latency when " \ "reading a stream") +#define AUTO_ADJUST_PTS_DELAY N_("(Experimental) Auto adjust the caching done "\ + "to minimize latency when reading live stream.") +#define AUTO_ADJUST_PTS_DELAY_LONGTEXT N_( \ + "This option is useful if you want to lower the latency when " \ + "reading a stream") + #define PLUGIN_PATH_TEXT N_("Modules search path") #define PLUGIN_PATH_LONGTEXT N_( \ "Additional path for VLC to look for its modules. You can add " \ @@ -1824,8 +1829,9 @@ vlc_module_begin(); add_bool( "use-stream-immediate", false, NULL, USE_STREAM_IMMEDIATE, USE_STREAM_IMMEDIATE_LONGTEXT, false ); + add_bool( "auto-adjust-pts-delay", false, NULL, - "auto-adjust-pts-delay", "auto-adjust-pts-delay", false ); + AUTO_ADJUST_PTS_DELAY, AUTO_ADJUST_PTS_LONGTEXT, false ); #if !defined(__APPLE__) && !defined(SYS_BEOS) && defined(LIBVLC_USE_PTHREAD) add_bool( "rt-priority", false, NULL, RT_PRIORITY_TEXT, -- 2.39.2