X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc-module.c;h=2373f6980a23b2c1d9a2058d7ee8906f996344f6;hb=5df2e973d079c0a43572cb9b248d226911b4cfbc;hp=9b6d3fd23982e88804c0803d29a7c1767f4d7f14;hpb=446bfcd5f40d640097b4e765ae234c47b9831d12;p=vlc diff --git a/src/libvlc-module.c b/src/libvlc-module.c index 9b6d3fd239..2373f6980a 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -993,6 +993,12 @@ 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_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 " \ @@ -1814,6 +1820,9 @@ vlc_module_begin(); MINIMIZE_THREADS_LONGTEXT, true ); change_need_restart(); + add_bool( "use-stream-immediate", false, NULL, + USE_STREAM_IMMEDIATE, USE_STREAM_IMMEDIATE_LONGTEXT, false ); + #if !defined(__APPLE__) && !defined(SYS_BEOS) && defined(LIBVLC_USE_PTHREAD) add_bool( "rt-priority", false, NULL, RT_PRIORITY_TEXT, RT_PRIORITY_LONGTEXT, true );