[FFmpeg-devel] avfilter : merge setfield and setrange and add set color property option

Martin Vignali martin.vignali at gmail.com
Sat Oct 20 18:39:37 EEST 2018


Hello,

>
> > Blocking this patch, no code should remove old filters.
> >
>
I suppose you talk about the proposal of removing setfield, setrange later ?


> > If you want more parameters to be changed write new filters instead.
> >
>
This is what the current patch do.



>
> Feel free to merge code into single file and add another filter which
> would change more stuff at once instead of one filter which will
> change all values. Removing filters is bad.
>

If i not miss something, this is what i do.

I only keep setparams, because seems the right name for the filter i would
like to write
But setrange and setfield are keep, with the same behaviour

Just call the same code in filter frame, (which change the param only if
the property is not set to auto (-1) (which is a default value for field,
range...)

Martin


More information about the ffmpeg-devel mailing list