[FFmpeg-devel] [PATCH] life: add seed information in filter summary.

Clément Bœsch ubitux at gmail.com
Sun Dec 11 14:18:20 CET 2011


On Thu, Dec 08, 2011 at 09:46:28PM +0100, Stefano Sabatini wrote:
> On date Thursday 2011-12-08 19:10:17 +0100, Clément Bœsch encoded:
> > ---
> >  libavfilter/vsrc_life.c |    5 +++--
> >  1 files changed, 3 insertions(+), 2 deletions(-)
> > 
> > diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c
> > index c61ec57..5f74bdd 100644
> > --- a/libavfilter/vsrc_life.c
> > +++ b/libavfilter/vsrc_life.c
> > @@ -292,9 +292,10 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque)
> >      memcpy(life->buf[1], life->buf[0], life->w * life->h);
> >  
> >      av_log(ctx, AV_LOG_INFO,
> > -           "s:%dx%d r:%d/%d rule:%s stay_rule:%d born_rule:%d stitch:%d\n",
> > +           "s:%dx%d r:%d/%d rule:%s stay_rule:%d born_rule:%d stitch:%d seed:%u\n",
> >             life->w, life->h, frame_rate.num, frame_rate.den,
> > -           life->rule_str, life->stay_rule, life->born_rule, life->stitch);
> > +           life->rule_str, life->stay_rule, life->born_rule, life->stitch,
> > +           life->random_seed);
> >      return 0;
> >  }
> 
> Good idea.

Pushed.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111211/bc0d34a7/attachment.asc>


More information about the ffmpeg-devel mailing list