On Tue, 2015-10-27 at 22:12 +0100, Luca Barbato wrote:
> On 27/10/15 21:41, John Stebbins wrote:
> > From: Michael Niedermayer <[email protected]>
> > 
> > Signed-off-by: Michael Niedermayer <[email protected]>
> > (cherry picked from commit 353cf95f948ef7c6139c8ead79e9eeb9eb8d2e6e)
> > ---
> >  libavfilter/vf_frei0r.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
> > index 0122b8d..04f74bc 100644
> > --- a/libavfilter/vf_frei0r.c
> > +++ b/libavfilter/vf_frei0r.c
> > @@ -459,6 +459,7 @@ static int source_config_props(AVFilterLink
> > *outlink)
> >      outlink->w = s->w;
> >      outlink->h = s->h;
> >      outlink->time_base = s->time_base;
> > +    outlink->frame_rate = av_inv_q(s->time_base);
> >  
> >      if (s->destruct && s->instance)
> >          s->destruct(s->instance);
> > 
> 
> shouldn't it forward it from the inlink ?
> 
> (timebase can be 1/1000, a 1000fps kills some encoders)
> 
> lu
> 

I don't entirely understand what frei0r does. But it appears to generate
frames at the specified framerate (25 default). time_base is set to
1/framerate in source_init().  So the output framerate should not come
from the inlink.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to