[vlc-devel] [PATCH 1/5] modules: module_list_cap sort list using the name argument
Rémi Denis-Courmont
remi at remlab.net
Wed Jun 3 18:44:36 CEST 2015
Le mercredi 03 juin 2015, 17:35:41 Thomas Guillem a écrit :
> This avoid to iterate in the list for each shortcuts from the name argument
> since the list is already sorted with them.
to avoid -ing
to iterate (|through) smth
to sort (according to|into)
> This will also allow to extend the vlc_module_load function in order to load
> a module coming just after an other one.
I don´t understand that sentence, nor do I understand the code.
Optimization of the module list is definitely possible, e.g. by pre-indexing
the list by capability at load time. But I don´t see how this relates to
decoder fallback.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list