[FFmpeg-devel] [PATCH] vf_unsharp: set default chroma size value to 5x5

Stefano Sabatini stefano.sabatini-lala at poste.it
Sun Aug 14 16:33:24 CEST 2011


On date Saturday 2011-08-13 22:44:20 +0200, Michael Niedermayer encoded:
> On Sat, Aug 13, 2011 at 04:36:54PM +0200, Stefano Sabatini wrote:
> > The previous default value 0x0 was not good, since it is not even
> > valid.
> > ---
> >  doc/filters.texi         |    6 +++---
> >  libavfilter/vf_unsharp.c |    4 ++--
> >  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> LGTM, just make sure that no unneeded computations are done when chroma
> isnt filtered

In apply_unsharp(), the source is copied to the destination and it
returns if amount == 0, disregarding the size value.

And pushed.
-- 
FFmpeg = Fantastic and Faithful Mere Pitiless Enigmatic Guru


More information about the ffmpeg-devel mailing list