]> git.sesse.net Git - vlc/commitdiff
libvlc: Fix --auto-adjust-pts-delay help text.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 16:36:15 +0000 (18:36 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 16:36:15 +0000 (18:36 +0200)
src/libvlc-module.c

index 24650b2f1bb4662259eb48012af2a488909bfdfe..fcb98d7976589e9e00746564ef9612374688506c 100644 (file)
@@ -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,