:: Re: [Frei0r] Bug in mixer2/blend
Startseite
Nachricht löschen
Nachricht beantworten
Autor: salsaman
Datum:  
To: Minimalistic plugin API for video effects
Betreff: Re: [Frei0r] Bug in mixer2/blend
http://lives-video.com
https://www.openhub.net/accounts/salsaman

On Mon, Sep 26, 2016 at 12:06 AM, Dan Dennedy <dan@???> wrote:

> Please suggest a default value or even better to supply patch.
>
>


It's not my plugin - I believe the author should select a suitable default.
I would suggest 0.5, although the author may prefer 0. or 1. or some other
intermediate value.

The patch is trivial, just add a line like:
blend_amount = 0.5;

before the line:
register_param(blend_amount,...);





>
> On Sun, Sep 25, 2016, 8:04 PM salsaman <salsaman@???> wrote:
>
>> Hi,
>> I just became aware of a bug in mixer2/blend. No default value is set for
>> the parameter blend_factor.
>>
>> This could cause a crash in some hosts and should be corrected by setting
>> a default value before calling register_param().
>>
>>
>> cc'ing plugin author.
>>
>>
>> Salsaman.
>>
>>
>> http://lives-video.com
>> https://www.openhub.net/accounts/salsaman
>> _______________________________________________
>> Frei0r mailing list - http://frei0r.dyne.org
>> Free video plugins, minimal and cross-platform.
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/frei0r
>>
>
> _______________________________________________
> Frei0r mailing list - http://frei0r.dyne.org
> Free video plugins, minimal and cross-platform.
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/frei0r
>
>