]> git.sesse.net Git - vlc/commitdiff
Tag some more options as safe
authorAnthony Loiseau <thannoy@actech-innovation.com>
Mon, 11 May 2009 08:38:02 +0000 (10:38 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 1 Aug 2009 08:47:39 +0000 (11:47 +0300)
Add:
- http-user-agent
- ps-trust-timestamps
- vout-event
And some rtsp options (username, passwd)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/access/http.c
modules/demux/live555.cpp
modules/demux/ps.c
src/libvlc-module.c

index 4f6f4dbd57a4e95821ef1aef7b7fa8a153b1ad53..dc42ceea62f3e3b3fd7747ba77aa8a4891f69944 100644 (file)
@@ -115,6 +115,7 @@ vlc_module_begin ()
         change_safe()
     add_string( "http-user-agent", COPYRIGHT_MESSAGE , NULL, AGENT_TEXT,
                 AGENT_LONGTEXT, true )
+        change_safe()
     add_bool( "http-reconnect", 0, NULL, RECONNECT_TEXT,
               RECONNECT_LONGTEXT, true )
     add_bool( "http-continuous", 0, NULL, CONTINUOUS_TEXT,
index 47a66b545c146979ee83cab87ca668ce99b7590e..fffc19d204d6a442b530590874eef4f831027d52 100644 (file)
@@ -141,8 +141,10 @@ vlc_module_begin ()
             change_safe()
         add_string( "rtsp-user", NULL, NULL, USER_TEXT,
                     USER_LONGTEXT, true )
+            change_safe()
         add_password( "rtsp-pwd", NULL, NULL, PASS_TEXT,
                       PASS_LONGTEXT, true )
+            change_safe()
 vlc_module_end ()
 
 
index 66b289219b11add189904f99c6a3ebcdbe03b505..0e5d772b207ab68b34d2d70d49734a16fd6de27d 100644 (file)
@@ -63,6 +63,7 @@ vlc_module_begin ()
 
     add_bool( "ps-trust-timestamps", true, NULL, TIME_TEXT,
                  TIME_LONGTEXT, true )
+        change_safe ()
 
     add_submodule ()
     set_description( N_("MPEG-PS demuxer") )
index b489fae7332ce84cba84474ab1363728059b50ab..a084cffbe6baa4cbd7a74fcdb94c34cc6f6e2f73 100644 (file)
@@ -1577,6 +1577,7 @@ vlc_module_begin ()
     add_bool( "quiet-synchro", 0, NULL, QUIET_SYNCHRO_TEXT,
               QUIET_SYNCHRO_LONGTEXT, true )
     add_integer( "vout-event", 1, NULL, VOUT_EVENT_TEXT, VOUT_EVENT_LONGTEXT, true )
+        change_safe()
         change_integer_list( pi_vout_event_values, ppsz_vout_event_descriptions, NULL )
         add_deprecated_alias( "x11-event" ) /* renamed since 1.0.0 */
 #ifndef __APPLE__