From 8d58d01482e080d4afcd3610e7e8059cbfcf3fb3 Mon Sep 17 00:00:00 2001 From: Anthony Loiseau Date: Mon, 11 May 2009 10:38:02 +0200 Subject: [PATCH] Tag some more options as safe MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add: - http-user-agent - ps-trust-timestamps - vout-event And some rtsp options (username, passwd) Signed-off-by: Rémi Denis-Courmont --- 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(+) diff --git a/modules/access/http.c b/modules/access/http.c index 4f6f4dbd57..dc42ceea62 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 47a66b545c..fffc19d204 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 66b289219b..0e5d772b20 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 b489fae733..a084cffbe6 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__ -- 2.39.5