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

git version control git at videolan.org
Sat Aug 1 10:47:56 CEST 2009


vlc | branch: master | Anthony Loiseau <thannoy at actech-innovation.com> | Mon May 11 10:38:02 2009 +0200| [8d58d01482e080d4afcd3610e7e8059cbfcf3fb3] | committer: Rémi Denis-Courmont 

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>

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

 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 4f6f4db..dc42cee 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -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,
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 47a66b5..fffc19d 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -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 ()
 
 
diff --git a/modules/demux/ps.c b/modules/demux/ps.c
index 66b2892..0e5d772 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 b489fae..a084cff 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -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__




More information about the vlc-devel mailing list