[vlc-devel] [PATCH] - Libvlc (new functions)

Joseph Tulou joseph.tulou at orange.fr
Wed Oct 29 21:26:23 CET 2008

>>Le mercredi 29 octobre 2008 21:01:20 brezhoneg1, vous avez écrit :
>>    Any comments welcomed

>If I understand correctly, the whole point of LibVLC is to hide the VLC

>internals. This patch precludes us from ever removing or changing
>variable semantics. IMHO, this is a very bad idea.

I thought this patch could be a trade-off between hiding internals and
giving access to key features.

Actually, these ":sub-filter=marq at name", ":marq-marquee=Something" can
be passed as options at creation of a media.
Why not extend them to run time via a function libvlc_set_param... (
media_player, "name", "marq-marquee", new_value);

I do get your point. Yet, those names, types and accepted values are
advertised when we do "vlc -H". No insider secret needs to be known to
code them.

Excerpt of vlc -H:

Filtre vidéo d’ajustement d’image
      --contrast=<Flottant [0.000000 .. 2.000000]>
                                 Contraste (0-2)
          Fixe le contraste de l’image, entre 0 et 2. 1 par défaut.
      --brightness=<Flottant [0.000000 .. 2.000000]>
                                 Brillance (0-2)

More information about the vlc-devel mailing list