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

vmem: mark options private or volatile as needed

parent ebbd913f
......@@ -75,12 +75,19 @@ vlc_module_begin()
set_capability("vout display", 0)
add_integer("vmem-width", 320, NULL, T_WIDTH, LT_WIDTH, false)
change_private()
add_integer("vmem-height", 200, NULL, T_HEIGHT, LT_HEIGHT, false)
change_private()
add_integer("vmem-pitch", 640, NULL, T_PITCH, LT_PITCH, false)
change_private()
add_string("vmem-chroma", "RV16", NULL, T_CHROMA, LT_CHROMA, true)
change_private()
add_string("vmem-lock", "0", NULL, T_LOCK, LT_LOCK, true)
change_volatile()
add_string("vmem-unlock", "0", NULL, T_UNLOCK, LT_UNLOCK, true)
change_volatile()
add_string("vmem-data", "0", NULL, T_DATA, LT_DATA, true)
change_volatile()
set_callbacks(Open, Close)
vlc_module_end()
......
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