[vlc-devel] [Patch] Adding a libvlc_media_add_option_non_unique

Rémi Denis-Courmont remi at remlab.net
Fri Jun 5 16:15:59 CEST 2009

Le mardi 2 juin 2009 11:30:12 Hugo Beauzee-Luyssen, vous avez écrit :
> Hi,
> For various reasons, I had to use a libvlc_media_t to represent an
> unique media, which can be used with multiple parameters.
> The problem is, libvlc_media_add_option call the input_item_AddOption
> with the VLC_INPUT_OPTION_UNIQUE, which prevents the option
> overwriting.
> This patch adds a function that doesn't toggle the
> VLC_INPUT_OPTION_UNIQUE flag, thus allowing the developer to overwrite
> an old option.

Perhaps we need to learn from our past mistakes and add a flag parameter to 
the new function?

Rémi Denis-Courmont

More information about the vlc-devel mailing list