[vlc-devel] [PATCH 2/3] omxil: Set a higher priority

Martin Storsjö martin at martin.st
Thu Sep 29 11:29:45 CEST 2011


On Thu, 29 Sep 2011, Rémi Denis-Courmont wrote:

> The priority is evaluated during the module bank/cache initialization, as
> are the configuration items. So fundamentally, the configuration is not
> loaded at that time. So you cannot change priority based on a configuration
> item.
>
> Instead, you need to set a constant high priority and check the
> configuration in the Open() callback. This unfortunately means the OMX
> decoder will be probed every time. But that is a minor issue: most decoders
> are already like that.

Ok, that sounds sensible.

// Martin


More information about the vlc-devel mailing list