[vlc-devel] commit: capabilities are strings ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu May 8 21:53:30 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May 8 22:54:46 2008 +0300| [28944cf048ddb32c971e7d458349b7d85b934587]
capabilities are strings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28944cf048ddb32c971e7d458349b7d85b934587
---
include/vlc_plugin.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
index 6b6ccae..82fd6c0 100644
--- a/include/vlc_plugin.h
+++ b/include/vlc_plugin.h
@@ -140,7 +140,8 @@ E_(vlc_entry) ( module_t *p_module );
goto error
#define set_capability( cap, score ) \
- if (vlc_module_set (p_submodule, VLC_MODULE_CAPABILITY, (int)(cap)) \
+ if (vlc_module_set (p_submodule, VLC_MODULE_CAPABILITY, \
+ (const char *)(cap)) \
|| vlc_module_set (p_submodule, VLC_MODULE_SCORE, (int)(score))) \
goto error
More information about the vlc-devel
mailing list