:: Re: [Frei0r] Bug in mixer2/blend
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: JS
Fecha:  
A: Minimalistic plugin API for video effects
Asunto: Re: [Frei0r] Bug in mixer2/blend
I think 0.5 is a good choice for this plugin.
Dan: do you want to add the line? Otherwise I'll do it through a pull
request.

On 2016-09-26 05:11, salsaman wrote:
>
>
>
> http://lives-video.com
> https://www.openhub.net/accounts/salsaman
>
> On Mon, Sep 26, 2016 at 12:06 AM, Dan Dennedy <dan@???
> <mailto:dan@dennedy.org>> 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@???
>     <mailto:salsaman@gmail.com>> 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
>         <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
>         <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
>     <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