Commit 0ba6c728 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

imem: mark MRL options as safe

If they can be passed through the MRL, there is no extra exposure in
passing them as options.
parent d3653053
......@@ -125,34 +125,46 @@ vlc_module_begin()
change_volatile()
add_string ("imem-cookie", NULL, NULL, COOKIE_TEXT, COOKIE_LONGTEXT, true)
change_volatile()
change_safe()
add_string ("imem-data", "0", NULL, DATA_TEXT, DATA_LONGTEXT, true)
change_volatile()
add_integer("imem-id", -1, NULL, ID_TEXT, ID_LONGTEXT, true)
change_private()
change_safe()
add_integer("imem-group", 0, NULL, GROUP_TEXT, GROUP_LONGTEXT, true)
change_private()
change_safe()
add_integer("imem-cat", 0, NULL, CAT_TEXT, CAT_LONGTEXT, true)
change_integer_list(cat_values, cat_texts, NULL)
change_private()
change_safe()
add_string ("imem-codec", NULL, NULL, CODEC_TEXT, CODEC_LONGTEXT, true)
change_private()
change_safe()
add_string( "imem-language", NULL, NULL, LANGUAGE_TEXT, LANGUAGE_LONGTEXT, false)
change_private()
change_safe()
add_integer("imem-samplerate", 0, NULL, SAMPLERATE_TEXT, SAMPLERATE_LONGTEXT, true)
change_private()
change_safe()
add_integer("imem-channels", 0, NULL, CHANNELS_TEXT, CHANNELS_LONGTEXT, true)
change_private()
change_safe()
add_integer("imem-width", 0, NULL, WIDTH_TEXT, WIDTH_LONGTEXT, true)
change_private()
change_safe()
add_integer("imem-height", 0, NULL, HEIGHT_TEXT, HEIGHT_LONGTEXT, true)
change_private()
change_safe()
add_string ("imem-dar", NULL, NULL, DAR_TEXT, DAR_LONGTEXT, true)
change_private()
change_safe()
add_string ("imem-fps", NULL, NULL, FPS_TEXT, FPS_LONGTEXT, true)
change_private()
change_safe()
add_shortcut("imem")
set_capability("access_demux", 0)
......
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