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

Clément Bœsch ubitux at gmail.com
Thu Dec 8 19:10:17 CET 2011


---
 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;
 }
 
-- 
1.7.8



More information about the ffmpeg-devel mailing list