[vlc-devel] Adding logo filter now restarts vout in 1.1.2

Jacques Boileau jboileau at gmail.com
Mon Aug 9 21:48:07 CEST 2010


Hi,

For those following this thread and have the same problem, here is a
way I have found to circumvent the problem while a permanent fix is
available:

1. Do not use the logo enable/disable API so vout won't be restarted.
2. When creating a libvlc instance using libvlc_new, pass the
following option: "--sub-filter=logo". This will enable the logo
filter but no logo will be shown since none is provided yet.
3. You can use the rest of the logo API to set file, position etc.
when you need to show a logo.
4. Use the logo opacity instead of the provided enable/disable API if
you need to enable/disable the logo. Opacity=0 will hide the logo
(disable) and Opacity=255 or what you want, will show it (enable).

Jacques Boileau




2010/8/9 Rémi Denis-Courmont <remi at remlab.net>:
> Le lundi 9 août 2010 19:13:54 Jacques Boileau, vous avez écrit :
>> On Mon, Aug 9, 2010 at 8:04 AM, Rémi Duraffort <ivoire at videolan.org> wrote:
>> > Le vendredi 06 août 2010 à 11:29:20, Jacques Boileau a écrit :
>> > > Then I would imagine the filter must provide information to the core
>> > > so it can decide it if it needs to restart vout or not. I looked at
>> > > logo.c but could not figure out what. But by looking at the code I
>> > > have noticed that between the two versions I am comparing (1.0.5 vs
>> > > 1.1.2), the logo filter went from being a "video filter" to a "video
>> > > filter2". Would that account for the difference in behavior? I checked
>> > > the marquee filter and it is still a "video filter"
>> >
>> > Seems to work nicelly in vlc trunk (no vout restart).
>>
>> I have just tried the trunk and inded it works without vout restart. I
>> guess this means that the next release will have the fix, hopefully in
>> a not to distant future. Thanks. Will this be in 1.1.3 or will it only
>> be slated for 1.2.0?
>
> The 1.2.0 video pipeline has already diverged significantly from 1.1.0. So
> fixes in master cannot be backported to 1.1.x.
>
> Given the horribly current release process, I would guess 1.2.0 will go out in
> spring 2011 at the earliest.
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> http://fi.linkedin.com/in/remidenis
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



More information about the vlc-devel mailing list