git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e65e719
)
Use vlc_config_set for categories (close #1411)
author
Rémi Denis-Courmont
<rem@videolan.org>
Fri, 21 Dec 2007 16:56:21 +0000
(16:56 +0000)
committer
Rémi Denis-Courmont
<rem@videolan.org>
Fri, 21 Dec 2007 16:56:21 +0000
(16:56 +0000)
include/vlc_configuration.h
patch
|
blob
|
history
diff --git
a/include/vlc_configuration.h
b/include/vlc_configuration.h
index
b41373f
..
ac427a8
100644
(file)
--- a/
include/vlc_configuration.h
+++ b/
include/vlc_configuration.h
@@
-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 )