[vlc-devel] [PATCH 2/3] src/input: add a new input option flag to replace values of existing options

Rémi Denis-Courmont remi at remlab.net
Sun May 11 12:00:21 CEST 2014


Le 2014-05-11 17:45, David Fuhrmann a écrit :

> UNIQUE and REPLACE are mutually exclusive. I will add this to the
> documentation. If someone still passes both flags, it looks fine that
> UNIQUE as the the „stronger“ variant take precedence.

The whole proposal does not make much sense. I believe there cannot 
functionally be two options with the same name in a single input item 
(unlike in stream output chain) - only one will take effect.

The UNIQUE flag prevents overriding an existing option. So its absence 
should allow override. I don't see the functional need for another bit 
flag.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list