[vlc-devel] commit: libvlc: Fix --auto-adjust-pts-delay help text. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jul 5 18:34:05 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul  5 18:36:15 2008 +0200| [cbca7229daf9e6a12a3e7e10bf34548da72502fb]

libvlc: Fix --auto-adjust-pts-delay help text.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cbca7229daf9e6a12a3e7e10bf34548da72502fb
---

 src/libvlc-module.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 24650b2..fcb98d7 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,




More information about the vlc-devel mailing list