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

Use vlc_config_set for categories (close #1411)

parent e65e7197
......@@ -326,11 +326,11 @@ VLC_EXPORT( int, vlc_config_set, (module_config_t *, int, ...) );
#define set_category( i_id ) \
add_type_inner( CONFIG_CATEGORY ); \
p_config->value.i = i_id
vlc_config_set (p_config, VLC_CONFIG_VALUE, (int)(i_id))
#define set_subcategory( i_id ) \
add_type_inner( CONFIG_SUBCATEGORY ); \
p_config->value.i = i_id
vlc_config_set (p_config, VLC_CONFIG_VALUE, (int)(i_id))
#define set_section( text, longtext ) \
add_typedesc_inner( CONFIG_SECTION, text, longtext )
......
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