[vlc-commits] modules: introduce vlc_plugin_t, remove module_cache_t

Rémi Denis-Courmont git at videolan.org
Wed Oct 26 21:56:29 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct 26 19:22:55 2016 +0300| [2676a5e71ae6b1e887a7cf9e651909fc65dd7a10] | committer: Rémi Denis-Courmont

modules: introduce vlc_plugin_t, remove module_cache_t

This introduces a dedicated compound type for module containers
(i.e. plug-in shared libraries or statically linked module
descriptors), or plug-in. A plug-in can contain any number of
modules. The type describes plug-ins regardless of whence they came
from, libvlccore ("main"), static linking, dynamic linking or the
plug-ins cache.

Previously, plug-ins from the cache were described by module_cache_t,
only during the loading phase, while module_t was (ab)used to describe
loaded or cached plug-ins. Ultimately, that allows moving properties of
plug-ins out of the module structure where they do not really belong,
since there can be multiple modules per plug-ins.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2676a5e71ae6b1e887a7cf9e651909fc65dd7a10
---

 src/modules/bank.c    | 198 +++++++++++++++++++++++++++-----------------------
 src/modules/cache.c   | 145 ++++++++++++++++++------------------
 src/modules/entry.c   |  77 +++++++++++++-------
 src/modules/modules.c |   4 +-
 src/modules/modules.h |  39 +++++-----
 5 files changed, 249 insertions(+), 214 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=2676a5e71ae6b1e887a7cf9e651909fc65dd7a10


More information about the vlc-commits mailing list