[vlc-devel] [PATCH] Add marq filter to libvlc

basos g noxelia at gmail.com
Mon Jul 6 12:41:53 CEST 2009


2009/6/25 Cyril MATHE <cmathe at actech-innovation.com>

> Hello,
> This is the new version of marq. I think (and hope) that this time the
> patch is correct.
>
> Regards
>         Cyril
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>

Hello, it seems that you want to control marq filter realtime, while playing
(e.g. changing configuration command variables ( VAR_COMAND ).
It think this approach is a little constraining in the sense that it adds 4
libvlc exported functions [1] to control one filter.
On the other hand the concept of realtime variable control not only for
marquee but also for an amount of other modules is wanted (e.g. a parameter
of a video fitler that could be mapped to a slider on the libvlc user
application).
I have proposed since a long time an extention to libvlc to account for
these changes. You can update realtime command configuration variables. This
has to implications : a) the changes are applied to module config ,so they
coulb be permanently saved, b) the changes are applied on-the-fly on the
internal module (command) variable so the effect of the change is
immediately aplied.
[an example use case for marquee filter could be :
libvlc_config_update( p_libvlc, "marq-marquee", "new text to display",
false, &p_e)
]

I don't know if it needs rework for current merging cause i have some time
to maintain it. But it works for me.

If you are interested search in the mailing list archives for the latest
libvlc_config_update     patch. Feedback is welcome.


basos


[1]. libvlc API should be kept as small and feuture rich as possible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090706/ad0dbb1b/attachment.html>


More information about the vlc-devel mailing list