[FFmpeg-devel] [PATCH 2/4] vf_frei0r: set outlinks sample aspect ratio to 1

Michael Niedermayer michaelni at gmx.at
Sat Mar 10 17:50:04 CET 2012


On Sat, Mar 10, 2012 at 03:15:18PM +0100, Stefano Sabatini wrote:
> On date Saturday 2012-03-10 08:22:34 +0100, Michael Niedermayer encoded:
> > From: Baptiste Coudurier <baptiste.coudurier at gmail.com>
> > 
> > ---
> >  libavfilter/vf_frei0r.c |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
> > index 1bcd09e..a77cedf 100644
> > --- a/libavfilter/vf_frei0r.c
> > +++ b/libavfilter/vf_frei0r.c
> > @@ -418,6 +418,7 @@ static int source_config_props(AVFilterLink *outlink)
> >      outlink->w = frei0r->w;
> >      outlink->h = frei0r->h;
> >      outlink->time_base = frei0r->time_base;
> > +    outlink->sample_aspect_ratio = (AVRational){1,1};
> >  
> >      if (!(frei0r->instance = frei0r->construct(outlink->w, outlink->h))) {
> >          av_log(ctx, AV_LOG_ERROR, "Impossible to load frei0r instance");
> 
> Can't hurt.

applied
Thanks

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120310/15213aa2/attachment.asc>


More information about the ffmpeg-devel mailing list