diff mbox

[FFmpeg-devel] doc/scaler: mention default scaling algorithm

Message ID 20161223003905.5405-1-lou@lrcd.com
State Superseded
Headers show

Commit Message

Lou Logan Dec. 23, 2016, 12:39 a.m. UTC
Signed-off-by: Lou Logan <lou@lrcd.com>
---
 doc/scaler.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Michael Niedermayer Dec. 23, 2016, 2:58 a.m. UTC | #1
On Thu, Dec 22, 2016 at 03:39:05PM -0900, Lou Logan wrote:
> Signed-off-by: Lou Logan <lou@lrcd.com>
> ---
>  doc/scaler.texi | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/scaler.texi b/doc/scaler.texi
> index 3e115cd..7d482dd 100644
> --- a/doc/scaler.texi
> +++ b/doc/scaler.texi
> @@ -13,7 +13,8 @@ FFmpeg tools. For programmatic use, they can be set explicitly in the
>  @anchor{sws_flags}
>  @item sws_flags
>  Set the scaler flags. This is also used to set the scaling
> -algorithm. Only a single algorithm should be selected.
> +algorithm. Only a single algorithm should be selected. Default
> +value is @samp{bilinear}.

are you sure this is correct ?

i see:
libswscale/options.c:    { "sws_flags",       "scaler flags",                  OFFSET(flags),     AV_OPT_TYPE_FLAGS,  { .i64  = SWS_BICUBIC        }, 0,      UINT_MAX,        VE, "sws_flags" },

[...]
Lou Logan Dec. 23, 2016, 5:54 p.m. UTC | #2
On Fri, 23 Dec 2016 03:58:16 +0100, Michael Niedermayer wrote:

> On Thu, Dec 22, 2016 at 03:39:05PM -0900, Lou Logan wrote:
> > Signed-off-by: Lou Logan <lou@lrcd.com>
> > ---
> >  doc/scaler.texi | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/doc/scaler.texi b/doc/scaler.texi
> > index 3e115cd..7d482dd 100644
> > --- a/doc/scaler.texi
> > +++ b/doc/scaler.texi
> > @@ -13,7 +13,8 @@ FFmpeg tools. For programmatic use, they can be set explicitly in the
> >  @anchor{sws_flags}
> >  @item sws_flags
> >  Set the scaler flags. This is also used to set the scaling
> > -algorithm. Only a single algorithm should be selected.
> > +algorithm. Only a single algorithm should be selected. Default
> > +value is @samp{bilinear}.  
> 
> are you sure this is correct ?

That's an idiotic typo: it should have been "bicubic". I shouldn't make
patches on three hours of sleep...
diff mbox

Patch

diff --git a/doc/scaler.texi b/doc/scaler.texi
index 3e115cd..7d482dd 100644
--- a/doc/scaler.texi
+++ b/doc/scaler.texi
@@ -13,7 +13,8 @@  FFmpeg tools. For programmatic use, they can be set explicitly in the
 @anchor{sws_flags}
 @item sws_flags
 Set the scaler flags. This is also used to set the scaling
-algorithm. Only a single algorithm should be selected.
+algorithm. Only a single algorithm should be selected. Default
+value is @samp{bilinear}.
 
 It accepts the following values:
 @table @samp