[FFmpeg-devel] [PATCH] avfilter/phase: add timeline support.

Michael Niedermayer michaelni at gmx.at
Fri May 2 23:25:52 CEST 2014


On Fri, May 02, 2014 at 12:10:14PM +0200, Clément Bœsch wrote:
> On Fri, May 02, 2014 at 12:05:00PM +0200, Clément Bœsch wrote:
> > ---
> >  libavfilter/vf_phase.c | 6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> > diff --git a/libavfilter/vf_phase.c b/libavfilter/vf_phase.c
> > index 2dcc6fa..e64632f 100644
> > --- a/libavfilter/vf_phase.c
> > +++ b/libavfilter/vf_phase.c
> > @@ -245,6 +245,11 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
> >      int plane, top, y;
> >      AVFrame *out;
> >  
> > +    if (ctx->is_disabled) {
> > +        av_frame_free(&s->frame);
> > +        return ff_filter_frame(outlink, in);
> > +    }
> > +
> >      out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
> >      if (!out) {
> >          av_frame_free(&in);
> > @@ -317,4 +322,5 @@ AVFilter ff_vf_phase = {
> >      .query_formats = query_formats,
> >      .inputs        = phase_inputs,
> >      .outputs       = phase_outputs,
> > +    .flags         = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
> 
> My bad, actually TIMELINE_GENERIC should be fine, without the first chunk;
> (I thought it was a previous frame cached)
> 
> so basically, just .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC

seems we have no maintainer in MAINTAINERs for vf_phase

any volunteers ?

if not
patch should be ok if it works id guess

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- 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/20140502/965bd602/attachment.asc>


More information about the ffmpeg-devel mailing list