[vlc] Re: module score

Rémi Denis-Courmont rem at videolan.org
Wed Jul 5 09:27:32 CEST 2006


Selon Kushal Dalal <kushal.dalal at einfochips.com>:

> What this score indicate for modules?

This prioritizes modules advertising the same capability.
When a certain capability is requested and there is no specific module name,
libvlc will try each available module advertising the capability in reverse
score order, until one succeeds (i.e. its Open() callback returns
VLC_SUCCESS).

> What if score is 0 for some module?

It will have lowest priority. That does not matter if the module is the only
one of its kind or if it is always invoked with its name explicitly.

On the other hand, for some capabilities, correct score selection is very
important. IIRC, the ts demux plugin will "always" succeed, which mean any
demuxer with a lower priority than that of ts will never have any chance of
being invoked, except through explicit naming.

-- 
Rémi Denis-Courmont

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list