[vlc-devel] commit: Tag some more options as safe (Anthony Loiseau )

git version control git at videolan.org
Sun Aug 9 23:54:58 CEST 2009


vlc | branch: 1.0-bugfix | Anthony Loiseau <thannoy at actech-innovation.com> | Mon May 11 10:38:02 2009 +0200| [fe29573142df4ed2b73bc4968dc4444bd7485896] | committer: Jean-Baptiste Kempf 

Tag some more options as safe

Add:
- http-user-agent
- ps-trust-timestamps
- vout-event
And some rtsp options (username, passwd)

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 8d58d01482e080d4afcd3610e7e8059cbfcf3fb3)

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

 modules/access/http.c     |    1 +
 modules/demux/live555.cpp |    2 ++
 modules/demux/ps.c        |    1 +
 src/libvlc-module.c       |    1 +
 4 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 258431a..94f36a5 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -111,6 +111,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,
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index dc90fe3..7cb2912 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -133,8 +133,10 @@ vlc_module_begin ()
                     KASENNA_LONGTEXT, true )
         add_string( "rtsp-user", NULL, NULL, USER_TEXT,
                     USER_LONGTEXT, true )
+            change_safe()
         add_string( "rtsp-pwd", NULL, NULL, PASS_TEXT,
                     PASS_LONGTEXT, true )
+            change_safe()
 vlc_module_end ()
 
 
diff --git a/modules/demux/ps.c b/modules/demux/ps.c
index aad1e52..cee838b 100644
--- a/modules/demux/ps.c
+++ b/modules/demux/ps.c
@@ -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") )
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index dd1fc6e..9670f94 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1581,6 +1581,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__




More information about the vlc-devel mailing list