Commit 8cc181f4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DVB/BDA: add_safe bandwidth/frequency

parent f1a2b56f
...@@ -201,6 +201,7 @@ vlc_module_begin () ...@@ -201,6 +201,7 @@ vlc_module_begin ()
change_safe() change_safe()
add_integer( "dvb-frequency", 0, NULL, FREQ_TEXT, FREQ_LONGTEXT, add_integer( "dvb-frequency", 0, NULL, FREQ_TEXT, FREQ_LONGTEXT,
false ) false )
change_safe()
# if defined(WIN32) || defined(WINCE) # if defined(WIN32) || defined(WINCE)
add_string( "dvb-network-name", NULL, NULL, NAME_TEXT, NAME_LONGTEXT, add_string( "dvb-network-name", NULL, NULL, NAME_TEXT, NAME_LONGTEXT,
true ) true )
...@@ -281,6 +282,7 @@ vlc_module_begin () ...@@ -281,6 +282,7 @@ vlc_module_begin ()
add_integer( "dvb-bandwidth", 0, NULL, BANDWIDTH_TEXT, BANDWIDTH_LONGTEXT, add_integer( "dvb-bandwidth", 0, NULL, BANDWIDTH_TEXT, BANDWIDTH_LONGTEXT,
false ) false )
change_integer_list( i_band_list, ppsz_band_text, NULL ) change_integer_list( i_band_list, ppsz_band_text, NULL )
change_safe()
add_integer( "dvb-guard", -1, NULL, GUARD_TEXT, GUARD_LONGTEXT, true ) add_integer( "dvb-guard", -1, NULL, GUARD_TEXT, GUARD_LONGTEXT, true )
change_integer_list( i_guard_list, ppsz_guard_text, NULL ) change_integer_list( i_guard_list, ppsz_guard_text, NULL )
add_integer( "dvb-transmission", -1, NULL, TRANSMISSION_TEXT, add_integer( "dvb-transmission", -1, NULL, TRANSMISSION_TEXT,
......
...@@ -204,6 +204,7 @@ vlc_module_begin () ...@@ -204,6 +204,7 @@ vlc_module_begin ()
true ) true )
add_integer( "dvb-frequency", 0, NULL, FREQ_TEXT, FREQ_LONGTEXT, add_integer( "dvb-frequency", 0, NULL, FREQ_TEXT, FREQ_LONGTEXT,
false ) false )
change_safe()
add_integer( "dvb-inversion", 2, NULL, INVERSION_TEXT, INVERSION_LONGTEXT, add_integer( "dvb-inversion", 2, NULL, INVERSION_TEXT, INVERSION_LONGTEXT,
true ) true )
add_bool( "dvb-probe", true, NULL, PROBE_TEXT, PROBE_LONGTEXT, true ) add_bool( "dvb-probe", true, NULL, PROBE_TEXT, PROBE_LONGTEXT, true )
...@@ -237,6 +238,7 @@ vlc_module_begin () ...@@ -237,6 +238,7 @@ vlc_module_begin ()
CODE_RATE_LP_LONGTEXT, true ) CODE_RATE_LP_LONGTEXT, true )
add_integer( "dvb-bandwidth", 0, NULL, BANDWIDTH_TEXT, BANDWIDTH_LONGTEXT, add_integer( "dvb-bandwidth", 0, NULL, BANDWIDTH_TEXT, BANDWIDTH_LONGTEXT,
true ) true )
change_safe()
add_integer( "dvb-guard", 0, NULL, GUARD_TEXT, GUARD_LONGTEXT, true ) add_integer( "dvb-guard", 0, NULL, GUARD_TEXT, GUARD_LONGTEXT, true )
add_integer( "dvb-transmission", 0, NULL, TRANSMISSION_TEXT, add_integer( "dvb-transmission", 0, NULL, TRANSMISSION_TEXT,
TRANSMISSION_LONGTEXT, true ) TRANSMISSION_LONGTEXT, true )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment