[vlc-devel] How does set_capability work?

Rémi Denis-Courmont remi at remlab.net
Wed Aug 29 01:11:46 CEST 2012


On Wednesday 29 August 2012, Peter Tap wrote:
> Folks,
> In the code for modules, I see that set_capability is declared using
> hard-coded strings such as "video filter2." Where is the list of all
> possible capabilities?

There is no list.

> How does the VLC engine use this value?


> As there is no enumeration, I am thinking one might make a mistake in
> typing the capability value.

Yes, that's possible. But it would be too obvious a bug to be undetected.

Rémi Denis-Courmont

More information about the vlc-devel mailing list