[vlc-commits] commit: DVB/BDA: add_safe bandwidth/frequency (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Sat Apr 10 22:35:38 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Apr 10 22:34:34 2010 +0200| [8cc181f4eb1a0192ee75e7fa04ada9b6f144f3cb] | committer: Jean-Baptiste Kempf
DVB/BDA: add_safe bandwidth/frequency
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8cc181f4eb1a0192ee75e7fa04ada9b6f144f3cb
---
modules/access/bda/bda.c | 2 ++
modules/access/dvb/access.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/access/bda/bda.c b/modules/access/bda/bda.c
index 5db2322..5cf230a 100644
--- a/modules/access/bda/bda.c
+++ b/modules/access/bda/bda.c
@@ -201,6 +201,7 @@ vlc_module_begin ()
change_safe()
add_integer( "dvb-frequency", 0, NULL, FREQ_TEXT, FREQ_LONGTEXT,
false )
+ change_safe()
# if defined(WIN32) || defined(WINCE)
add_string( "dvb-network-name", NULL, NULL, NAME_TEXT, NAME_LONGTEXT,
true )
@@ -281,6 +282,7 @@ vlc_module_begin ()
add_integer( "dvb-bandwidth", 0, NULL, BANDWIDTH_TEXT, BANDWIDTH_LONGTEXT,
false )
change_integer_list( i_band_list, ppsz_band_text, NULL )
+ change_safe()
add_integer( "dvb-guard", -1, NULL, GUARD_TEXT, GUARD_LONGTEXT, true )
change_integer_list( i_guard_list, ppsz_guard_text, NULL )
add_integer( "dvb-transmission", -1, NULL, TRANSMISSION_TEXT,
diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index bf628b4..4fa4b43 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -204,6 +204,7 @@ vlc_module_begin ()
true )
add_integer( "dvb-frequency", 0, NULL, FREQ_TEXT, FREQ_LONGTEXT,
false )
+ change_safe()
add_integer( "dvb-inversion", 2, NULL, INVERSION_TEXT, INVERSION_LONGTEXT,
true )
add_bool( "dvb-probe", true, NULL, PROBE_TEXT, PROBE_LONGTEXT, true )
@@ -237,6 +238,7 @@ vlc_module_begin ()
CODE_RATE_LP_LONGTEXT, true )
add_integer( "dvb-bandwidth", 0, NULL, BANDWIDTH_TEXT, BANDWIDTH_LONGTEXT,
true )
+ change_safe()
add_integer( "dvb-guard", 0, NULL, GUARD_TEXT, GUARD_LONGTEXT, true )
add_integer( "dvb-transmission", 0, NULL, TRANSMISSION_TEXT,
TRANSMISSION_LONGTEXT, true )
More information about the vlc-commits
mailing list