Commit db97e8e7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Mark dvb-adapter as safe (fix #5503)

Just about every other capture mechanism allows selecting the device
from the MRL, so we might as well support it for DVB. The playlist will
only work on a specific system, but it should still be safe.
parent c189fe69
......@@ -241,11 +241,13 @@ vlc_module_begin ()
#ifdef __linux__
add_integer ("dvb-adapter", 0, ADAPTER_TEXT, ADAPTER_LONGTEXT, false)
change_integer_range (0, 255)
change_safe ()
add_obsolete_integer ("dvb-device")
add_bool ("dvb-budget-mode", false, BUDGET_TEXT, BUDGET_LONGTEXT, true)
#endif
#ifdef WIN32
add_integer ("dvb-adapter", -1, ADAPTER_TEXT, ADAPTER_LONGTEXT, true)
change_safe ()
add_string ("dvb-network-name", "", NAME_TEXT, NAME_LONGTEXT, true)
/* Hmm: is this one really safe??: */
add_string ("dvb-create-name", "", CREATE_TEXT, CREATE_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