Hi, On Wed, Apr 20, 2011 at 7:45 PM, Anton Khirnov <[email protected]> wrote: > From: Stefano Sabatini <[email protected]> > > Signed-off-by: Stefano Sabatini <[email protected]> > Signed-off-by: Anton Khirnov <[email protected]> > --- > libavfilter/vf_scale.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c > index c987912..77de116 100644 > --- a/libavfilter/vf_scale.c > +++ b/libavfilter/vf_scale.c > @@ -158,8 +158,8 @@ static int config_props(AVFilterLink *outlink) > var_values[VAR_OUT_W] = var_values[VAR_OW] = NAN; > var_values[VAR_OUT_H] = var_values[VAR_OH] = NAN; > var_values[VAR_A] = (float) inlink->w / inlink->h; > - var_values[VAR_HSUB] = > 2<<av_pix_fmt_descriptors[inlink->format].log2_chroma_w; > - var_values[VAR_VSUB] = > 2<<av_pix_fmt_descriptors[inlink->format].log2_chroma_h; > + var_values[VAR_HSUB] = > 1<<av_pix_fmt_descriptors[inlink->format].log2_chroma_w; > + var_values[VAR_VSUB] = > 1<<av_pix_fmt_descriptors[inlink->format].log2_chroma_h;
OK. Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
