[vlc-devel] Filters in libvlc

jboileau jboileau at gmail.com
Thu Jun 19 16:24:16 CEST 2008

Hi Lukas,

> you are right, user should be able to use it without core knowledge,
> therefore I probably forgot to write it, there can be something like:
> enum {ADJUST, BLEND, MAGNIFY ...} visible for user

Fine idea by me. I do suggest you also consult with Pierre
d'Herbermont the libvlc guru! I am more a user than an architect of
the libvlc API. But of course my opinion does have some value. :-)

> We talk on IRC, that we can store added filters and set
> values of filters options in libvlc_media_player_t, so than if vout
> will be restarted or filters will be dropped by some other way,
> we can applied old settings => make settings persistant

Yes and that's what Pierre had suggested. This approach is certainly
simpler, should work fine for libvlc and makes everything local to
libvlc. Not a bad thing. Doing it in the core's filter API is more
complicated, requires knowledge of the core's internals (probably more
than a newbie like me can tackle), but when done there, it is done for
any developper using libvlc or the core directly. More central. So
there are advantages and disadvantages to both solutions. Choose the
one you like better or have VLC developers vote on it. :-) If you do
it in libvlc for now it could certainly be changed if ever the filter
API evolves and includes persistance one of these days anyways.

>I hope, that you have some cool application
>fir linux, in this case I will have to create something myself.

Sorry, no Linux here. :-(

Jacques Boileau

More information about the vlc-devel mailing list