[vlc-devel] [PATCH v3 13/14] core: obsolete now unused --input-timeshift-path

Lyndon Brown jnqnfe at gmail.com
Wed Oct 14 04:56:49 CEST 2020


From: Lyndon Brown <jnqnfe at gmail.com>
Date: Fri, 9 Oct 2020 23:42:59 +0100
Subject: core: obsolete now unused --input-timeshift-path


diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index aea70ed995..e2ee0fe919 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -713,10 +713,6 @@ static const char *const ppsz_prefres[] = {
     "When possible, the input stream will be recorded instead of using " \
     "the stream output module" )
 
-#define INPUT_TIMESHIFT_PATH_TEXT N_("Timeshift directory")
-#define INPUT_TIMESHIFT_PATH_LONGTEXT N_( \
-    "Directory used to store the timeshift temporary files." )
-
 #define INPUT_TIMESHIFT_GRANULARITY_TEXT N_("Timeshift granularity")
 #define INPUT_TIMESHIFT_GRANULARITY_LONGTEXT N_( \
     "This is the maximum size in bytes of the temporary files " \
@@ -2002,8 +1998,7 @@ vlc_module_begin ()
     add_bool( "input-record-native", true, INPUT_RECORD_NATIVE_TEXT,
               INPUT_RECORD_NATIVE_LONGTEXT, true )
 
-    add_directory("input-timeshift-path", NULL,
-                  INPUT_TIMESHIFT_PATH_TEXT, INPUT_TIMESHIFT_PATH_LONGTEXT)
+    add_obsolete_string("input-timeshift-path") /* since 4.0.0 */
     add_integer( "input-timeshift-granularity", -1, INPUT_TIMESHIFT_GRANULARITY_TEXT,
                  INPUT_TIMESHIFT_GRANULARITY_LONGTEXT, true )
 



More information about the vlc-devel mailing list