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

Stefano Sabatini stefasab at gmail.com
Thu Dec 8 21:46:28 CET 2011


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.
-- 
FFmpeg = Furious and Fostering Majestic Pitiful Enlightening Generator


More information about the ffmpeg-devel mailing list